To configure the Google Tag Manager containers that are injected into your community open the Ambassify community settings. Now navigate to the Tracking page from the sidebar.

Here you'll find your enabled containers. Use the Add  button to configure more containers. You'll need to provide a description and the Container ID (GTM-XXXX) which can be obtained from the Tag Manager snippet like below.

Since the Ambassify community is a single-page application you will need to set up a trigger that can be used to handle page changes. Single page application require you to set up a trigger using  History Change like below.


Ambassify publishes events within the platform to Google Tag Manager. This allows you to run scripts based on user actions on the platform.

To use these events you'll need to create your own triggers in the Tag Manager Container like the screenshot below where the Event name  is one of the supported events listed.

Currently supported events:

  • campaign.interaction  when a user interacts with a campaign

  • auth.signup  when a signup completes

A user can configure their own cookie preferences in our platform. We require all our customers that do use GTM to respect the users configured preferences.

Therefor we make the cookie consent that the user configured available via global javascript variables that you can read in your GTM code to check if it's allowed to load a certain script or not.

  • window.COOKIE_CONSENT_NECCESARY: These cookies are used for activities that are strictly necessary to operate or deliver the service you requested from us and, therefore, do not require you to consent.

  • window.COOKIE_CONSENT_PERSONALIZE: These cookies help us to provide a personalised user experience by improving the quality of your preference management options, and by enabling the interaction with external networks and platforms. These trackers help us to measure traffic and analyse your behavior with the goal of improving your experience and our service.

  • window.COOKIE_CONSENT_ADS: These cookies help us to deliver personalised marketing content to you based on your behavior and to operate, serve and track ads.

Did this answer your question?