How do I add the tracking code to Google Tag Manager?

Copy your account specific tracking code from Settings > Setup guide

You can place the tracking code via Google Tag Manager (GTM). By means of an Account ID, Google Tag Manager knows which Spotler Activate account it should communicate with. Take the following steps:

In Google Tag Manager, create a variable called: Spotler Activate-Account ID.

GTM 10.png

For variable type, choose: Constant

GTM 11.png

Open the unique Spotler Activate account ID. You can do this by going to Settings. Click on the gear at the bottom and then on Settings.

GTM 12.png

In the first screen you will see Account ID. Click on the eye to view the Account ID.

GTM 13.png

Copy a paste this ID into Google Tag Manager when configuring the variable.

GTM 14.png

Create a new Tag named Spotler Activate - Base Script + Page View.

GTM 15.png

For Tag type, select Custom HTML

GTM 16.png

Add the tracking code of the Spotler Activate platform and replace the AccountID in the script with the variable setting.

GTM 17.png

Select All Pages - Page View trigger to ensure that this tag is always triggered.

GTM 18.png

When you have placed the tracking code you can click on the button I added the tracking code or App in the Spotler Activate Settings > Setup guide. The code will then be validated.