Setting up Google Tag Manager

Google Tag Manager is a tag management system that allows you to quickly and easily update tags and code snippets on your website or mobile app, such as those intended for traffic analysis and marketing optimization. You can add and update AdWords, Google Analytics, Firebase Analytics, Floodlight, and 3rd party or custom tags from the Tag Manager user interface instead of editing site code.

Go to official web site for Google Tag Manager

With Google Tag Manager you have control which tags (like Google Analytics) are activated on the web skin. To setup Google Analytics with Google Tag Manager some configuration is required.

As the web skin is a single page application it does not automatically trigger pageviews in Google Analytics. It triggers virtual pageviews which need to be mapped to pageviews via the Google Tag Manager.

To achieve this, execute the following steps in the Google Tag Manager container configuration:

  • Add a trigger Virtual pageview. In the Choose Event step select Custom Event. In the Fire On step, fill in virtualPageView.
  • Add a user-defined variable Virtual url. In the Choose Type step select Data Layer Variable. In the Configure Variable step, fill in virtualUrl in the Data Layer Variable Name.
  • Add the universal analytics tag.
    • The Track Type should be Page View.
    • In Field to Set fill in page in Field Name and select the Virtual url variable as the value.
    • In the Fire On step select All Pages and also click More and select the Virtual pageview trigger we just created.
    • Save the tag
  • Ensure that the container works by previewing it.
  • Publish the container.


To ensure selling tickets via Ticketmatic is secure and stable the tags that can be activated via Google Tag Manager are limited. At this time only Google tags are allowed. To see which tags are Google tags, click here.

Cross-domain tracking

It is possible to enable cross-domain tracking with Google Analytics. You can find more information about setting up cross-domain tracking with Google Tag Manager here. should be one of the domains in the Auto Link Domains field.

Data Layer Variables

There are two data layer variables active which can be referenced in Google Tag Manager:

  • virtualUrl: The url of the current page
  • account: The name of the account


We're always happy to help! Send us an e-mail