Macros replacements in push messages
Macros - is a special set of characters that is replaced individually for each user before the push message is sent to this particular user. Different macroses can exist for message content and for push target URL.
Push message content (text and title)
{var_1} ... {var_5}
- Additional variables defined for each user during subscription process{city}
- User city name (defined based on IP address). Default value i.e "your city" can be defined with following way{city|your city}
{country}
- User country name (defined based on IP address). Default value i.e "your country" can be defined with following way{country|your country}
Target URL for push message
{browser}
- Browser (based on User-Agent header){geo}
- 2 letter country code (based on IP address){user}
- Browser (based on User-Agent header){os}
- Browser (based on User-Agent header){osversion}
- Browser (based on User-Agent header){country}
- Country name (based on IP address){city}
- City name (based on IP address){region}
- Region name (based on IP address){language}
- Region name (based on Accept-Language header){var_1} ... {var_5}
- Additional variables defined for each user during subscription process{mailingid}
- Identifier of mailing that contains current message