The most compelling campaigns contain personalized content. Localytics powers personalized content by allowing you to store individual user profiles with default fields, such as First Name, or custom fields you can define, such as Favorite Category or Exercises Completed.
If you intend to personalize messages, see Profiles to understand their full power and flexibility. Personalization utilizes the open-source templating language Liquid. For more information, see Using Liquid.
Localytics creates a user profile if your app assigns a known identity to users. If a user uses your app without an app-assigned identity, Localytics generates an anonymous profile tied to the device. In either case, your app can optionally collect observable information about users and pass it to Localytics as a profile attribute, which can then be used to personalize messages.
Example: To illustrate, if User1234 selects a favorite team, your app can instruct Localytics to store this under a profile attribute named Favorite Team and then create push or email messages that dynamically populate the Favorite Team.
Similarly, your app can use attributes that are strings, numeric values, dates, or sets of those values. For more information on optimizing your personalization strategy, see Profiles.
Once your profile attributes have been communicated to Localytics, you can personalize messages in the Message Builder:
- In the upper-right corner of the Message Body field, select the Insert Profile Field icon and then select a profile attribute from the Profile Field drop-down list.
- You can select any available profile attribute to insert it into your message. The Profile attribute scope is set automatically.
Consider using personalization to:
- Send push messages that are personalized to include the user's name, for example: Hey John, this week only, save 10%!
Hey {{ special.first_name }}, this week only, save 10%!
- Personalize even further by using a profile attribute reporting last item viewed, for example: Hey John, this week only, save 10% on shoes!
Hey {{ special.first_name }}, this week only, save 10% on {{ app.favorite_category }}!
- Send push messages to highlight milestones and create habit loops, for example: John, congrats on completing 88 exercises in 2020. Keep it up in 2021!
{{ special.first_name }}, congrats on completing {{ app.exercises_completed_in_2020 }} exercises in 2020. Keep it up in 2021!
To illustrate:
Tip: Remember, profile attributes can be used to power personalization, not just through individualized message content, but also through audience definition. For more information, see the examples in Audiences.