The most compelling campaigns contain personalized content. Localytics powers personalized content by allowing you to store individual user Profiles with default fields like First Name or custom fields you can define like Favorite Category or Exercises Completed. If you intend to personalize messages, read the User Profiles section to understand their full power and flexibility. Personalization utilizes the open-source templating language Liquid, which is explained with more detail in the Liquid templating section.
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. To illustrate, if User1234 selects a favorite team, your app can instruct Localytics to store this under a Profile Attribute called Favorite Team and then create push or email messages that dynamically populates the Favorite Team. Similarly, your app can use attributes that are strings, numeric values, dates, or sets of those values. To optimize your personalization strategy, read more in our User Profiles section to optimize your personalization strategy.
Once your Profile Attributes have been communicated to Localytics, personalizing messages is simple. Click the Profile icon at the top right of the message builder to access the Insert Profile Field menu. You can select any available Profile Attribute to insert it into your message. The scope is set automatically.
Consider using Personalization to:
- Send push messages that are personalized to include the user's name, such as 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, such as 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, such as John, congrats on completing 88 exercises in 2015. Keep it up in 2016!
-
{{ special.first_name }}, congrats on completing {{ app.exercises_completed_in_2015 }} exercises in 2019. Keep it up in 2020!
To illustrate: