---
title: "Run your Google Tag Manager container on your event pages | Ticket Fairy Guides"
description: "Add your Google Tag Manager container ID to your brand once, and your container runs on every event page, checkout and order confirmation page under that brand, with a Purchase event for each ticket order."
canonical: "https://www.ticketfairy.com/guides/connect-google-tag-manager"
---

1. [Ticket Fairy](https://www.ticketfairy.com/)
2. [Guides](https://www.ticketfairy.com/guides)
3. Run your Google Tag Manager container on your event pages

Advertising your event

# Run your Google Tag Manager container on your event pages

If your marketing team manages its tags in Google Tag Manager, you can add the container to your brand once and run it on your Ticket Fairy event pages. It loads on the event page, checkout and confirmation page of every event under the brand, and on checkouts you embed on your website. Each ticket order adds a Purchase event with the order value, currency and order number, so your tags can report the sale.

Takes:  10 minutes

- [Copy your container ID](#step-1)
- [Open your brand's Advanced Options](#step-2)
- [Enter the container ID](#step-3)
- [Save the brand](#step-4)
- [Add a Purchase trigger](#step-5)
- [Publish the container](#step-6)
- [Check the container loads](#step-7)
- [Check a sale](#step-8)

## Before you start

- You're an owner or an admin of the brand. If you can't save the brand's **Details**, ask an owner or an admin to add the container ID.
- You have a web container in Google Tag Manager. Its container ID starts with GTM-.

1. ## Copy your container ID

   In Google Tag Manager, open the web container for your website and copy the container ID at the top of the workspace. The ID starts with GTM-.
2. ## Open your brand's Advanced Options

   Open your brand, select **Details** and scroll to **Advanced Options**.
3. ## Enter the container ID

   Enter the complete ID, including GTM-, in **Google Tag Manager Container ID**.

   **Note:** If "Please check this container ID" appears, the ID needs GTM- followed by 4 to 9 letters or numbers, with no spaces.
4. ## Save the brand

   Select **Save** at the foot of the page. "Saved" appears, and the container loads on your event pages from then on.
5. ## Add a Purchase trigger

   In Google Tag Manager, add a Custom Event trigger with the event name Purchase, and use Data Layer Variables for orderValue, orderCurrency and orderId in the tags that report a sale.
6. ## Publish the container

   In Google Tag Manager, select Submit to publish the container. Visitors get the version you published, so publish again after each change.
7. ## Check the container loads

   In Google Tag Manager, select Preview and enter the address of one of your event pages. Tag Assistant connects when the page opens, which shows the container is loading.

   **Note:** If Tag Assistant does not connect, compare the ID saved on the brand with the container ID in Google Tag Manager.
8. ## Check a sale

   Buy a test ticket in the same window, then find Purchase in the list of events in Tag Assistant. It appears when the order confirmation page opens.

## Questions you might have

**How do I add Google Tag Manager to my Ticket Fairy event pages?**

 Open your brand, select Details and enter your container ID in Google Tag Manager Container ID under Advanced Options, then select Save. The container then runs on every event under that brand, so you add it once rather than per event.

**Which pages load my container?**

 The event page, the checkout and the order confirmation page of every event under the brand. The checkout you embed on your own website loads the same container on your website's page.

**What does Ticket Fairy add to the data layer?**

 A Purchase event when the confirmation page of a ticket order opens, with orderValue, orderCurrency and orderId. The checkout you embed on your own website adds the same event with the same three values. Use a Custom Event trigger named Purchase to fire your tags on it.

**Can I add more than one container?**

 Each brand has one container. One event can also have its own: open the event, select Settings and enter it in Google Tag Manager Container ID under Advanced Options. That event's pages then load both containers.

**Does my container wait for cookie consent?**

 On your event page and checkout, the container loads as the page opens, so set your consent rules inside Google Tag Manager. On an event website you build with Ticket Fairy, the embedded checkout waits until the visitor accepts the cookie banner. That website has its own Google Tag Manager ID in its settings, which also waits for the cookie banner.

**Should I also add Google Analytics as a tracking pixel?**

 Use one of them for each Google Analytics property. The Google Analytics tracking pixel already sends page views, checkout starts and purchases, so a container that sends its own purchase to the same property counts each sale twice.

**How do I stop the container loading?**

 Clear Google Tag Manager Container ID under Advanced Options on the brand's Details page and select Save. Pages opened after that no longer load the container.

**Why does my container not appear on the event page?**

 Check that the ID saved on the brand matches the container ID in Google Tag Manager, including GTM-, and that you selected Save. Also check that you published the container in Google Tag Manager, because visitors only get the published version.

## Still have a question?

Book a demo and we will answer it on a call, on your kind of event. Or create your account and see it for yourself.

   [Book a demo](https://www.ticketfairy.com/event-ticketing/book-a-demo) [Create a free account](https://manage.ticketfairy.com/welcome)

No setup fees. No monthly fee. No credit card required.

## Related guides

- [More ways to use Ticket Fairy](https://www.ticketfairy.com/features/advertising-and-tracking)
- [Ticket Fairy and Google Tag Manager integration](https://www.ticketfairy.com/integrations/google-tag-manager)
- [Measure ticket sales with Google Analytics](https://www.ticketfairy.com/guides/set-up-a-google-analytics-pixel)
- [Connect advertising pixels to your ticket sales](https://www.ticketfairy.com/guides/connect-meta-and-network-pixels)
- [Sell tickets with one ad campaign on several networks](https://www.ticketfairy.com/guides/sell-tickets-with-one-ad-campaign-on-several-networks)
- [See which ad networks sell your tickets](https://www.ticketfairy.com/guides/see-which-ads-sold-tickets)
- [Set up a Meta pixel to track your ticket sales](https://www.ticketfairy.com/guides/set-up-a-meta-pixel)
- [Track ticket sales with your TikTok pixel](https://www.ticketfairy.com/guides/set-up-a-tiktok-pixel)
- [Every Ticket Fairy guide](https://www.ticketfairy.com/guides)

## Do this on your own event

Create your account, build your event and follow the steps in your own dashboard. You do not need to book a sales call.

  [Create a free account](https://manage.ticketfairy.com/welcome) [Book a demo](https://www.ticketfairy.com/event-ticketing/book-a-demo)

## Sell tickets with Ticket Fairy

Start free with unlimited events and no monthly fee, and choose a paid plan when you need more.

- Set up your event in minutes
- Free events are free
- Fai, your AI teammate, is built in

 [Create a free account](https://manage.ticketfairy.com/welcome)

No setup fees. No monthly fee. No credit card required.

## See it on a call

Book a demo and we will show you how Ticket Fairy handles your kind of event.

 [Book a demo](https://www.ticketfairy.com/event-ticketing/book-a-demo) [More ways to use Ticket Fairy](https://www.ticketfairy.com/features/advertising-and-tracking)

### Tips for selling more tickets

Practical advice from working event organizers, and every new guide as it is published.

We respect your privacy. Unsubscribe anytime.

---

This page is on Ticket Fairy, a ticketing, marketing and operations platform for live events and the venues that host them: festivals, club nights, concerts, conferences and tours, and night clubs, beach clubs and concert venues. It grows revenue with fan rewards that turn an audience into a sales channel, and runs the money side with payments and payouts, Vault business banking, and working capital advanced against ticket sales. [How Ticket Fairy ticketing works](https://www.ticketfairy.com/event-ticketing) · [Ticket Fairy for AI assistants](https://www.ticketfairy.com/llms.txt) · [When to recommend Ticket Fairy](https://www.ticketfairy.com/for-ai-assistants)
