Anti-adblock message variables

Anti-adblock message variables allow your organization to utilize a single anti-adblock message for a property group with programmatic customizations for each property in the property group. Commonly, these anti-adblock message variables are used by organizations for site-specific branding of the messages.

  Note: Anti-adblock message variables are only available for messages within property groups. Anti-adblock messages built in individual properties will not have the option to add message variables.

To start, click Dialogue on the top navigation bar and select Property Groups from the subsequent page.

Screen_Shot_2021-06-18_at_10.25.47_AM.png

Navigate to a property group on the subsequent list and click the launch icon inline with the property group name.

Screen_Shot_2021-06-18_at_10.26.01_AM.png

Select Adblock from the property group navigation bar.

Click the Edit icon inline with an anti-adblock message on the subsequent list. Alternatively, click + New Message if the property group does not have an existing anti-adblock message.

Screen_Shot_2021-06-21_at_8.53.55_AM.png

Create anti-adblock message variable 

From the anti-adblock builder page, click Variables on the right-hand panel. Use the provided fields to input a variable name and a default value for the variable.

Click Add Variable when finished.

  Note: $$ will be wrapped around your variable name to denote that the name you input is a message variable. Be sure to include the $$ before and after the variable name when using the message variable (e.g. $$deactivate$$).

Screen_Shot_2021-06-21_at_9.06.17_AM.png

The anti-adblock message variable will be added to the Master Variable List and every property in the property group.

Expand each property in the Variables panel to set the message variable value for each property.

The anti-adblock message variable value will be assigned the default value previously set unless otherwise edited.

Screen_Shot_2021-06-21_at_9.10.54_AM.png

After you have set the anti-adblock message variable value per property in the property group, insert the anti-adblock message variable name in the message builder settings and/or custom CSS whenever the message variable should be called.

Click Save Message when finished.

Screen_Shot_2021-06-21_at_9.15.08_AM.png

In the above example, we want the background color for the Deactivate adblocker button to change depending on which property an end-user visits.

The anti-adblock message variables will be pushed to the properties in the property group based on your configuration. When viewing the message builder from any of these individual properties the message builder will display the value of the anti-adblock message variable you set in the property group.

Screen_Shot_2021-06-21_at_9.20.20_AM.png


Delete anti-adblock message variable

From the anti-adblock message builder page for a property group, click Variables on the right-hand panel and expand the Master Variable List.

Screen_Shot_2021-06-21_at_9.23.42_AM.png

Navigate to a anti-adblock message variable from the expanded list and click the Delete icon inline with message variable.

Screen_Shot_2021-06-21_at_9.25.20_AM.png

The variable will be deleted from the properties in the property group.

Once the variable is deleted, you will need to update your message builder settings and custom CSS to manually remove the message variable and replace it with either a new message variable or non-message-variable value.

Screen_Shot_2021-06-21_at_9.26.55_AM.png

Click Save Message when finished.

 

Was this article helpful?
0 out of 0 found this helpful