Why This Matters
Google Tag Manager gives House of Legends a single control panel for all marketing tags. When activated, GTM can relay website activity to Google Ads, GA4, and any other advertising tool — without changing the website code each time. Think of GTM as a switchboard: instead of asking the development team to add a new tracking tag every time you want to run a campaign, you simply flip a toggle in the GTM dashboard.Current Status
GTM is dormant. The website does not currently load the GTM script, so no events are being sent through it. This is intentional — GTM will be activated when the team is ready to connect Google Ads or other Google tools.Technical status details
Technical status details
Doc Status: GTM is configured but not mounted in the application runtime. The environment variable exists; the script loader does not inject the GTM container.
| Item | Value |
|---|---|
| Environment variable | NEXT_PUBLIC_GTM_ID |
| Current value | GTM-XXXXXXX (placeholder) |
| Container loaded | No |
| dataLayer events pushed | No (would be pushed if activated) |
Events Sent to GTM
When GTM is activated, the website tracks these visitor actions. Marketing teams can build tags in the GTM dashboard to send these events to Google Ads, GA4, or other connected tools.| Visitor Action | Event Name |
|---|---|
| Views any page | page_view |
| Views a show detail page | view_item |
| Adds tickets to their selection | add_to_cart |
| Starts the checkout process | begin_checkout |
| Enters payment details | add_payment_info |
| Completes a paid booking | purchase |
| Submits a booking inquiry | lead |
DataLayer implementation details
DataLayer implementation details
When GTM is activated, the landing analytics module (
apps/landing/lib/analytics/analytics.ts) pushes these events to the window.dataLayer. Event properties include value, currency, content IDs, item quantities, and item names when available. No raw PII (email, phone, name) is pushed to the dataLayer.How to Activate GTM
Activation steps (technical)
Activation steps (technical)
Enable the GTM loader
In
apps/landing/lib/analytics/analytics.ts, uncomment or enable the GTM initialization block. The loader injects gtag.js and the container snippet into the document head.Configure tags in GTM UI
In the GTM web interface, create tags for GA4, Google Ads conversion tracking, or any other tool. Map them to the dataLayer event names listed above.
