Dynamic content
What is Dynamic content?
This functionality allows you to personalize your push messages and emails by modifying the message content with corresponding Tag values that you collect from your users. You can address your user by name, and use any of his or her preferences in the message to make it relevant for every single user, how cool is that?
Use case
Picture this: the application provides coupons for best restaurants in town every Friday.
In order to draw user’s attention and bring them back to the app, you may send a basic push message that says “There are some coupons for you in the app, open it now!”. However, such a message doesn’t convey any specific information for a user, thus it’s unlikely this push will be opened by everyone who receives it. In order to significantly increase the push open rate, notifications should be sent to the right audience with the right message. So, in order to send most relevant messages to users, the app collects the following information from users by calling setTags
:
- Name (sends Alias tag value to Pushwoosh)
- Favorite Restaurant (sends Restaurant tag value)
How to personalize the push
With this info about users you can personalize push messages by using Dynamic content. To add the Dynamic content to your message text, press the Personalization button on the top right of the input field.
1. Choose a Tag
First, we choose a Tag which value will be used in the message. To apply, click Insert.
In our case, it’s the Name tag so that each user will receive a personalized push notification.
2. Choose a format modifier
Then, we should pick a Format Modifier for the chosen tag value. Since it’s the name, we capitalize the first character of the name, so “alexander” becomes “Alexander”:
3. Specify a default value
We can also specify the Default Tag Value, which is used as a tag value in case a user didn’t specify it for some reason. Type in the name for those who didn’t tell us their names, for example, as “friend”.
4. Deal with non-tagged users
Control Panel
Let’s complete the message with the restaurant name. But what if some of the users didn’t specify their favorite restaurant yet? We covered this case as well – enable the Ignore non-tagged checkbox, and those devices that have no value for the chosen tag will not receive this push.
How to personalize emails
When creating emails, you can also use personalization tags to dynamically insert user-specific information such as the recipient’s name, location, or any other data you have collected. For example, you can use the {{FirstName}}
tag to greet your users by their first name.
You can personalize both the email headings and the body text. Learn how to do this with the Drag&drop email editor