Overview
This guide walks through connecting your Eventify ticket portal to Google Analytics 4 (GA4) using Google Tag Manager (GTM). It assumes you don't have an existing GTM container or GA4 property yet.
Open the full step-by-step tutorial with copy-paste tables →
What you'll set up
- A new GA4 property and a new GTM container
- A base tag so GA4 receives pageviews
- 3 triggers (Purchase, Order Placed, Funnel events)
- 13 Data Layer Variables pulling from Eventify's ecommerce data layer
- 3 GA4 event tags: Purchase, Order Placed, and the 5-event Funnel tag
- 5 custom dimensions and 4 custom metrics registered in GA4
Steps at a glance
- Step 0 – Create the GA4 property. In analytics.google.com, create an account and property, add a Web data stream, and copy the Measurement ID (looks like
G-XXXXXXXXXX).
- Step 0.5 – Create the GTM container. In tagmanager.google.com, create a Web container, then paste its two install snippets into Eventify under Registration → Registration Settings → Tracking Code (before
</head> and before </body>).
- Step 0.6 – Add the base Google Tag. Tag ID = your Measurement ID, triggered on Initialization - All Pages. Without this, nothing else sends data.
- Step 0.7 – Confirm Eventify is pushing events. In the browser console, run
window.dataLayer.filter(e => e && e.event) after a test purchase and confirm you see view_item_list, add_to_cart, begin_checkout, purchase, etc.
- Step 1 – Create 3 triggers:
CE - purchase, CE - order_placed, and a regex trigger CE - funnel matching the 5 funnel events.
- Step 2 – Create 13 Data Layer Variables (Data Layer Version 2) for fields like
ecommerce.transaction_id, ecommerce.order_status, ecommerce.fee, etc. Also enable the built-in Event variable.
- Step 3 – Build the GA4 - Purchase tag with Send Ecommerce data ON and 8 event parameters (order_status, order_id, round, ticket_count, fee, discount, payment_type, payment_gateway_id).
- Step 4 – Add the GA4 - order_placed tag (recommended) to catch orders placed but never paid — needs all 9 parameters since nothing is automatic for this custom event.
- Step 5 – Add the GA4 - funnel tag (recommended), one tag covering all 5 funnel events via the dynamic
{{Event}} variable.
- Step 6 – Register custom dimensions & metrics in GA4: 5 custom dimensions (3 Event-scoped, 2 Item-scoped) and 4 custom metrics. Registration is forward-only, not retroactive.
- Step 7 – Test in Preview mode before publishing: verify each tag fires exactly once where expected, variables resolve to real values, and reopening an old confirmation page doesn't re-fire purchase events.
Common pitfalls covered in the full tutorial: mixing up a trigger's Trigger Name vs. its Event name field, pasting a {{DLV - ...}} variable into the Parameter column instead of the Value column, and forgetting Item-level scope for per-ticket custom dimensions.
For the complete walkthrough — including every trigger, variable, and tag configuration table — see the full GA4 setup tutorial.