Property-Based Personalization
Property-based personalization is a method of inserting different values into messages for each user.
You can insert values such as name, tier, recently viewed products, and preferred category into text and links.
Basic Syntax
Hackle uses Liquid syntax.
{{ user_properties["name"] | default: "Customer" }}If a value exists, it displays that value.
If there is no value, it displays the fallback text after default.
If needed, you can use event properties in the same way.
{{ event_properties["product_name"] | default: "A recommended product" }}Where can I use it?
Message title and body
Button links and landing URLs
Deep links and query parameters
You can easily add personalization text by pressing the {...} button on the right side of the text input field.

Examples
Message content
Link
Deep link
Be sure to set fallback text
Users without a property value occur more often than you might think.
For values that can look awkward when displayed, such as name, product name, and tier, it is good to include a default.
Check with preview
After verifying the personalization text you set in the popup, enter values in the user message preview.
You can immediately check the actual displayed text and links before sending.

Last updated