Reference
...
Configuration
Web skins
Google Tag Manager
6min
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 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 go to triggers and click new in the choose trigger type step select custom event and name the event virtual pageview in the this trigger fires on step choose some custom events and fill in event equals virtualpageview add a user defined variable virtual url in the choose type step select data layer variable in the variable configuration 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 ecommerce step set enable enhanced ecommerce features to true and select use data layer 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 limitations 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, including floodlight ( flc , fls ) to see which tags are google tags, click here https //developers google com/tag manager/devguide#restricting tag deployment 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 https //support google com/tagmanager/answer/6164469 apps ticketmatic com should be one of the domains in the auto link domains field enhanced ecommerce whenever a customer adds / removes tickets to their order, checkouts or purchases tickets, this information is pushed to google tag manager if required, this information can be pushed through to google analytic to track conversions, etc to activate enhanced ecommerce the following configurations should be executed in google tag manager add a trigger addtocart in the choose event step select custom event in the fire on step configure the condition that it fires whenever event contains addtocart add a trigger checkout in the choose event step select custom event in the fire on step configure the condition that it fires whenever event contains checkout add a trigger purchase in the choose event step select custom event in the fire on step configure the condition that it fires whenever event contains purchase add a trigger removefromcart in the choose event step select custom event in the fire on step configure the condition that it fires whenever event contains removefromcart add a new tag universal analytics addtocart the track type should be event the event category should be enhanced ecommerce the action should be addtocart the google analytics settings should be {{enhanced ecommerce}} the firing trigger should be the addtocart custom event add a new tag universal analytics checkout the track type should be event the event category should be enhanced ecommerce the action should be checkout the google analytics settings should be {{enhanced ecommerce}} the firing trigger should be the checkout custom event add a new tag universal analytics purchase the track type should be event the event category should be enhanced ecommerce the action should be purchase the google analytics settings should be {{enhanced ecommerce}} the firing trigger should be the purchase custom event add a new tag universal analytics removefromcart the track type should be event the event category should be enhanced ecommerce the action should be removefromcart the google analytics settings should be {{enhanced ecommerce}} the firing trigger should be the removefromcart custom event with this configuration active google tag manager will push enhanced ecommerce data to google analytics 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