Using Custom Data
Pushwoosh allows you to customize your push notifications by adding custom data. This enables you to personalize the user’s experience by triggering specific actions within your app when a user interacts with a push notification.
What is Custom Data?
Custom data refers to additional commands or parameters included in your push notifications, typically formatted in JSON. This data can control how your app responds when users open the notification, such as displaying a custom message, changing the app layout, or offering personalized discounts.
How Custom Data works
When a push notification with custom data is received, the app processes the JSON payload to perform predefined actions. This allows for dynamic content updates, navigation, and other interactive features without requiring the user to manually open the app.
Example use cases
- Personalized messaging: You can send users personalized messages by including custom data such as discount offers or event reminders.
- App personalization: Custom data can change elements of your app, like colors, images, or even app icons, based on user preferences or campaign targets.
- Updating your application proactively: In certain situations, you may need to update elements of your application on users’ devices, such as changing icons, colors, or enabling specific sections. These updates don’t involve downloading a new version of the app but rely on functionality already built into the application.
- Granting bonus points to users: You can send push notifications with custom data to grant bonus points to users. When the user taps on the notification, the bonus points are automatically credited to their account.
How to include Custom Data
You can add custom data while creating a push notification in the Control Panel or by using the Data to App journey element.