Skip to main content

Google Tag Manager

How to set up Google Tag Manager.

Kate Thelwell avatar
Written by Kate Thelwell
Updated this week

On July 1, 2023, Google replaced Universal Analytics with Google Analytics 4, their next-generation measurement solution.
​
Read and follow all the steps below to successfully link Google Tag Manager to an Access Tonic event.

Event Tracking

The ticket widget and checkout make use of the Analytics e-commerce metrics. Through this, your Analytics conversions will come as a 'purchase' event.
​
Access Tonic will also send the following events:

Event

Source

Description

view_item_list

Ticket Widget

Viewing ticket types for an event

add_to_cart

Ticket Widget

Selecting a ticket type

begin_checkout

Checkout

On entering the Checkout

purchase

Checkout

On completing a ticket purchase


Implement GTM codes in Access Tonic

  1. From your Access Tonic dashboard, click Manage for the applicable event.

  2. Go to the Sales Tracking tab.

  3. Go to the Google Tag Manager tab.

  4. In the Configure box enter your Google Tag Manager ID, then click Save.

Untitled.png


Setting up Google Tag Manager

To send your data through from Google Tag Manager to Google Analytics you will need to configure your Tag to send event triggers. To do this, follow the steps for Google Tag Manager under "Collect ecommerce Data" in this Set up ecommerce events guide from Google.

⚠️ Important: Remember to tick 'Send e-commerce data'.

Setting Tag Configuration

Follow the below steps to set the Tag Configuration.

  1. On the left hand side click on Tags and click on the Google tag that is being used.

  2. Click Tag Configuration and then expand Configuration settings.

  3. Under Configuration Parameter, click Add parameter.

  4. Type cookie_flags and set the Value input to SameSite=none; Secure

  5. Click Save and publish the changes.

Below is an example of a Tag set up to receive e-commerce data into Google Analytics:

gtm-tag-setup-ea40e98a2d57a4674c1e3f0496d9caf3.png

Custom booking flows

Below is an example of how the event looks when sent to Google Tag Manager. If you have your own custom process we recommend matching the below to ensure your data in Analytics will be consistent:

πŸ€“ Tip: Please see this Measure Ecommerce guide from Google for more information.



​Google Tag cross-domain tracking

The following steps for cross-domain tracking must also be completed.

  1. Ensure Google Tag Manager has been installed on your site as described in the Google Tag Documentation and the codes have been implemented into the Access Tonic event admin.

  2. Allow your Google Tag to run on our designmynight.com domain from your Analytics admin.

Your domains should look similar to our example below:

Custom booking flows

Below is an example of how the event looks when sent to Google Tag Manager. If you have your own custom process we recommend matching the below to ensure your data in Analytics will be consistent:


​


​

Did this answer your question?