Personalization
Nunjucks
Last updated
Was this helpful?
Nunjucks
Last updated
Was this helpful?
In the process of personalization, you send campaigns with messages tailored to each subscriber.
In the personalization, use nunjucks syntax. It allows you to access previously prepared labels.
An example of nunjucks:
Title: Hello {{name}}!
If there's no such label, nothing will render in this place.
A subscriber with the name: "Mateusz"
label will see "Hello Mateusz
" in their push.
You don't have to do anything to choose the type of personalized campaign. All you need is to use the nunjucks syntax in the Title, Content, or Link fields.
There are fields for personalizing the message in the campaign. They are available in the "Personalization" section.
Use those variables in your content and you'll see how the message may look to a given subscriber.
If you want to see how the personalized message looks for another subscriber, refresh the site using the "Refresh" button