You can fully customize the content of your push notifications using 'custom data', similarly, you can use custom data to define the actions that should be triggered based on the interaction with the push notification.
Please note that to use Custom Data, your app needs to handle the custom data you will send in the Push notifications, therefore, you will need to define the key values.
How to use Custom Data?
Custom data is sent as key-value pairs, therefore, these keys need to be previously specified by your development team and properly handled within your app as the preset parameters your app will handle.
There’re endless possibilities to tailor your push notification to your needs by using Custom data. Here’re a few examples to help you get started:
1- Send dedicated offers or discounts to a group of users:
Boost engagement or reward active users by sending personalized offers or discounts.
1st step
Use UXCam filters and segments to segment your users based on behavior and interaction. For instance, you can create two segments:
- Engaged users: Users that completed a purchase in the last 2 weeks and visited the app more than 5 times.
- Slipping away users: Users that used to be active but stopped using your app in the last two weeks. Let’s define it as users that completed a purchase, visited the app more than 10 times, but haven’t come back in the last 2 weeks.
2nd step
Define your action plan and create the content for your push notifications.
For the first segment, we can reward our loyal users with an additional discount to prompt them to continue buying on our app. Therefore, we will define the key ‘discount’ and value ‘15’ to offer them a 15% discount and then configure the custom data to apply the discount automatically and take them to the profile screen.
For the second segment, we will re-engage the inactive customers by offering free shipping and a 20% discount. Therefore, we will define the key ‘discount’, value ‘20’, and the key ‘shipping’ with value ‘free’. We’ll also define the trigger so that when users click on the push notification they will be taken to the product list screen.
3rd step
Define and handle the key values in your app. Please note that your app needs to handle the keys and values you entered in the Custom data.
2- Trigger actions based on users' interaction with Push notifications
You can guide or redirect your users to certain sections of your app. For instance, you can remind your users that they’ve left items in the shopping cart, send exclusive offers and add the product to the cart directly after they click on the push notification.
Offer an exclusive promo to all the users that visited a certain product page
1st step
Segment your users to include only users that viewed the product ‘Chiffon cake’ and didn’t complete the purchase.
2nd step
Define the content of your Push notification and the triggered action upon clicking on the push message. For instance, we can define the key ‘discount’ and value ‘20’ to apply a 20% discount to the product and configure the push notification to add the product to the cart automatically after clicking on the message.
3rd step
Make sure your app handles the key values.
3- Customize the look and feel of your push notifications
Custom data can also be used to personalize the notification’s appearance, such as setting a specific icon or changing the sound the notification makes when popping up.
4- Use push notifications to send links to your website, surveys, feedback forms, or any external content.
You can send a personalized URL to send the users to a specific section in your app (e.g. to the user’s profile) or any other website. For instance, you can invite frustrated users to test a new beta version of your app, or send them a feedback form to collect their thoughts.
1st step
Segment your users by filtering users that had rage taps while interacting with your product details screen.
2nd step
Define the content of the push notification. Then add the key-value URL to link to a form inviting them to be part of the beta program and test the new and improved product details screen.
3rd step
Make sure you’ve defined the form and your app handles the key-value you just set up in the push notification.
Here’re a few examples of the JSON format for the Push notification when sending Custom Data.
Android:
Notification body |
iOS:
{ |