Frequently Asked Questions

  1. How do you set action parameters in push notifications and receive them in the application?
  1. Add action parameters in NotifyVisitors’ dashboard while creating a Push Notification campaign in key-value format. Refer to the screenshot provided below.
  1. Here in the screenshot provided above, you will notice that there are four action params namely:
  • Action → It contains three types of actions according to what you set in the Description menu ie., Default CTA, CTA 1, and CTA 2.
  • DataType → It contains integer, string, and boolean data types.
  • Key → It should be in string format.
  • Value → It depends on what datatype you set.
  1. Receive action params in the Application
  1. In an application, you receive a push notification and you click on it then it is redirected to the targeted page. On that activity, you receive action parameters through intent. Here data from intent we are going to fetch in two ways:
  1. In onCreate() method
  1. Here we call the in-build getIntent() method in the onCreate() method. From the getIntent() method we will fetch values corresponding to the keys set in the NV dashboard.
try {
   if (getIntent() != null && getIntent().getExtras() != null) {
       int value = getIntent().getExtras().getInt("notificationID");
       Log.d("App", "Action Params => For Key [notificationID] => Value [" + value + "]");
} catch (Exception e) {



This way of implementation will provide you with intent data when the app is not in the background.

  1. In getIntent() method
  1. This method is already available in the activity class you only need to implement this overridden method.
protected void onNewIntent(Intent intent) {

   try {
       if (intent != null && intent.getExtras() != null) {
           int value = intent.getExtras().getInt("notificationID");
           Log.d("App", "Action Params => For Key [notificationID] => Value [" + value + "]");
   } catch (Exception e) {



This way of implementation will provide you with intent data when the app is already in the background or foreground.

  1. How does Coupon Code work in push notifications?
  1. Add coupon code in your push notification as shown the screenshot provided below:
  1. Once you click on push notification and land on the landing page your coupon code will automatically get copied on the clipboard. Now you can use this work in your requirements according to your app flow.
  1. What is the character limit of the title, message, and summary in push notifications?
  1. Well, this totally depends on the device size and the font size used in it. But here is the list of sizes we are sharing which can help you to get the estimation of lengths.
Push Type
Title (characters)
Message (characters)
Summary (characters)


400 25


40 22


43 21


43 21
Standard Timer 48 44 -
Rich Timer 48 41 -
  1. How many action parameters can we add in push notifications?
  1. Up to 15 action parameters can be added to push notifications.
  1. What kind of link is required to create GIF push notifications?
  1. The GIF link is not supported (). You have to add image links of size 512px*256px. You can add up to 5 images. These images will be merged up internally in the NotifyVisitors SDK and create your GIF.
  1. What are the custom key values that need to be set for timer push?


Background Color in HEX


Title Color in HEX


Message Color in HEX

Updated Timer Push

Title to show after timer expires
Updated Timer Push
Message to show after timer expires
Timer duration in seconds
nv_timer_end $D_1595871380
Epoch Timestamp to countdown to (for example, $D_1595871380 or 1595871380). Not needed if pt_timer_threshold is specified.