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). Please note: these are case sensitive!

Variable Description Example Response
{id_site} Website ID 13920
{subscriber_uid} Subscriber's unique ID 5101d378-1423-42c9-2dbf-ac2da75a288b
{today} Today's date (as formatted to m-d-Y)  01-15-2020
{today format=dateformat} Today's date, with custom formatting. See this link for supported format values. (varies)
{created} Date the SubID was Created At 01-15-2020
{created format=dateformat} Date the SubID was created at - with custom formatting. See this link for supported format values. (varies)
{campaign_id} Campaign ID (or NULL if none) 1087308
{push_type}

Type of campaign.

1 = Manual

2 = One Off

3 = Event/Triggered

4 = RSS

5 = Welcome Campaign

3
{browser} Browser  chrome
{ip} IP address  98.180.173.0
{device} Device type (desktop or mobile) desktop
{os} Operating System of Subscriber Mac OS X
{region} / {state} State or Region Nevada
{city} City Las Vegas

{country}

Country United States

{website_url}

URL for the Site sending the Push Varies

    Type a curly bracket { to bring up a dropdown list of all the variables available to you. Select the one you wish to use and hit ‘insert’ to use in your campaign.