Documentation Center

Using Variables In Notifications (Generic)

Adding dynamic variables into your push notifications such as date or website

The contents under this article are article currently under beta. 

 

There are three types of ways you can pass variables into your notifications:

  1. Using Variables With Custom Attributes 
  2. Using Variables With Custom Events
  3. Using Variables with Generic Variables

This document covers generic (system) variables that are made available.

 

2019-07-22_10-50-44

 

The following dynamic variables are made available anywhere within a push notification (title, link, body, action, etc). 

  • {today}
    • This will pass the current date the moment the push notification is delivered to the subscriber.
  • {id_site}
    • This will pass the website id (i.e. 300)
  • {subscriber_uid}
    • This will pass the subscriber id