Articles on: Customization

Notification variables: Dynamic content in messages

Use variables like {{product.name}}, {{product.price}}, and {{customer.location}} to insert dynamic content into your notifications. Variables automatically pull real data from your store.


Variables are placeholders that show real data like customer names, product names, cities, prices, etc. Click the variable buttons in the message editor to insert them automatically.



How Variables Work


  • Variables = placeholders for real data
  • Format: {{variable.name}}
  • Example: {{product.name}} shows actual product name
  • Click variable buttons to insert automatically


Variables by Notification Type


Recent Orders:

Variable

Shows

Example

{{order.customerName}}

Customer name

"Sarah"

{{order.city}}

Customer city

"New York"

{{order.country}}

Customer country

"United States"

{{order.timeAgo}}

Time since purchase

"2 minutes ago"

{{product.name}}

Product name

"iPhone 14"

{{product.price}}

Product price

"$999"

{{product.image}}

Product image URL

(image)


Top Selling Products:

Variable

Shows

{{product.name}}

Product name

{{product.salesCount}}

Number of sales

{{product.price}}

Product price

{{product.image}}

Product image URL


Product Views:

Variable

Shows

{{product.name}}

Product name

{{product.views}}

View count

{{product.price}}

Product price

{{product.image}}

Product image URL


Add to Cart:

Variable

Shows

{{product.name}}

Product name

{{product.price}}

Product price

{{product.image}}

Product image URL


Static/Browser Data:

Variable

Shows

Example

{{browserData.city}}

Visitor's city

"New York"

{{browserData.country}}

Visitor's country

"United States"

{{browserData.time}}

Current time

"2:30 PM"

{{browserData.date}}

Current date

"January 15, 2024"


Example Messages with Variables


{{order.customerName}} from {{order.city}} just bought {{product.name}}

🔥 {{product.name}} - {{product.salesCount}} sold today!

👁️ {{product.views}} people viewed {{product.name}} recently

Welcome from {{browserData.city}}!


Best Practices:
  • Use 2-3 variables per message (not too many)
  • Combine variables with your text
  • Test to ensure variables work correctly
  • Preview shows example data


Common Mistakes:
  • Using wrong variable for notification type
  • Too many variables (message becomes cluttered)
  • Not testing if variables display correctly
  • Misspelling variable names


Next Steps:

  • Edit campaign → Enter Message tab
  • Click variable buttons to insert
  • Preview to see example data
  • See "How do I customize my notification message?" for more


Updated on: 03/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!