Using Variables In Notifications (Generic)

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

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). 

Variable Example Description Example Response
{id_site} {id_site} website id 13920
{subscriber_uid} {subscriber_uid} subscriber identifier 5101d378-1423-42c9-2dbf-ac2da75a288b
{today} {today} Today's date (as formatted to m-d-Y)  01-15-2020
{today format=dateformat} {today format=Y} Today's date, with custom formatting 2020