> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ticketsource.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Google Analytics

1. [What is Google Analytics?](#2-1-what-is-google-analytics)
2. [How to connect your TicketSource account to Google Analytics](#2-2-how-to-connect-your-ticketsource-account-to-google-analytics)
3. [Does TicketSource support Google Tag Manager](#2-3-does-ticketsource-support-integration-with-google-tag-manager)

## 1. What is Google Analytics?

Google Analytics lets you track visitors and see which email campaigns or link referrals work best to promote your event.

To add Google Analytics to your TicketSource account, you must sign up for a [Google Analytics account](https://analytics.google.com/analytics/web/provision/#/provision).

## 2. How to connect your TicketSource account to Google Analytics

Before you start, you'll need to find your [Google Analytics Measurement ID](https://support.google.com/analytics/answer/9539598), which begins with "**G-**", via your Google Analytics account. 

Step 1: Connecting your account

1. In your TicketSource account, go to **Account** and **Integrations**
2. Under **Analytics and tracking** Enable **Google Analytics tracking on booking pages**
3. Enter your **Google Analytics Measurement ID**.
4. Click **save changes**.

Step 2: Cross-domain tracking

To prevent Google Analytics from creating a new tracking session when passing from your website to the TicketSource website i.e. to maintain a single seamless tracking session between your website and the TicketSource website, you must add the ticketsource domain to the domain list in your Google Analytics 4 property data stream settings.

You can follow instructions on how to do this via [Google's help pages.](https://support.google.com/analytics/answer/10071811?hl=en#)

Reports will begin to appear for three URL paths on the Analytics reports for your own website:

* Views for your event listings will register on your public sales URL e.g www.ticketsource.co.uk/your-company-name
* Views for an event run will appear under event links ending in e-xxxxxx
* Views for a specific event will appear under event links ending in t-xxxxxx

## 3. Does TicketSource support integration with Google Tag Manager?

Currently, TicketSource does not support Google Tag Manager (GTM) due to the potential to expose the TicketSource domain to vulnerabilities from unverified code, making it impractical to grant this level of access to Event Organisers. 

Furthermore, there is a legal obligation for TicketSource to transparently display all cookies processed within its website. Integrating Google Tag Manager, which interfaces with various third-party applications, would impede TicketSource's ability to accurately track and present the necessary cookie consent information.