Learn how to install the Google Tag Manager script in Brij experiences.
To install Google Tag Manager in your Brij experiences, open Google Tag Manager and click on the container ID in the menu.
Once you click it, two scripts will appear: one to place after the <head> tag in your Brij experiences, and another to place after the <body> tag.
Copy these values and go to the Brij portal. In your customer area, navigate to Settings and click Custom Code. There, you’ll see two script boxes where you can paste the code from Google Tag Manager. After pasting the code, click Save.
This is a global account setting. Once saved, Google Tag Manager will load on all of your Brij experiences. Currently, there isn’t a way to load Google Tag Manager per experience, but you can control your GTM tags to fire only on the experiences you want by using page URL conditions on the triggers.
That’s it!