Skip to content
🚀 Find us on Product Hunt

GTM Tracking Setup Guides

Quick answer: Pick your website platform below to see every event you can track on it, or jump straight into the free wizard to build your container now - 4 website platforms, 8 tracking tools, 623 guides, no account needed.

Step-by-step Google Tag Manager setup guides, organized by website platform and tracking tool - GA4, Google Ads, Meta, TikTok, Pinterest, LinkedIn, Microsoft UET and X.

Each guide below covers client-side (browser) tag setup through Google Tag Manager. If you're also working with first-party data collection, a GTM server-side container, or a Conversions API integration to improve tracking accuracy, these client-side containers are the piece that feeds events into that layer.

Build my container →

Choose your website platform

Advanced configuration: consent, server-side tracking, Enhanced Conversions, cross-domain, and debugging →

Popular guides

Frequently asked questions

Are these guides actually free?

Yes - every guide and the container builder wizard itself are free, with no account required and no platform or event limits. This directory covers 623 generated guides in total.

Do I need coding experience to use these?

No. The wizard generates a ready-to-import Google Tag Manager container file - you select platforms and events, enter your tracking IDs, and import the result. No manual tag, trigger, or variable setup.

Which tracking platforms are covered?

8 tracking tools: GA4, Google Ads, Meta Pixel, TikTok Pixel, Pinterest Tag, LinkedIn Insight Tag, Microsoft UET, and X Pixel - each with its own set of event guides for every website platform below.

What's the difference between a platform guide and an event guide?

A platform guide (e.g. "GA4 for WooCommerce") lists every event you can track with that tool. An event guide (e.g. "GA4 Purchase Event") goes deep on one specific event - what triggers it, what data it sends, and how to troubleshoot it.

Is this affiliated with WooCommerce, BigCommerce, or Google?

No - this site is independent and not affiliated with, endorsed by, or sponsored by Automattic, WooCommerce, BigCommerce, or Google. Platform names are used descriptively to identify what each guide covers.

Quick answer

This page is the index of every Google Tag Manager setup guide on TagManagerBuilder: 623 guides, organised by website platform, tracking tool and event. Pick your platform — WooCommerce, WordPress, BigCommerce or GoHighLevel — then the tool the data has to go to, then the event you want to measure. Each combination has its own guide, and the builder turns any combination into a ready-to-import GTM container using the tracking IDs you type in. Use it in this order: platform first, because the platform decides which events exist; tool second, because the tool decides what the container contains; event last, because the event decides which tags fire and when.

How the recipe index works

A "recipe" here is one combination: one platform, one tool, one event. WooCommerce plus GA4 plus purchase is one recipe; the same platform and event with Meta Pixel instead of GA4 is a different recipe, because the tag that sends the data is different even though the trigger is the same. That is why the index is large: 4 platforms × 8 tools × the events each platform supports adds up to 623 guides.

There are two kinds of guide on this page, and the distinction matters when you are looking for something:

The four platform hubs linked below are the front doors. Each hub explains how tracking works on that platform, lists its tools and events, and walks through the builder flow with screenshots. The event guides linked from each hub are the detail. Nothing on this page replaces the hubs — it is the map, and the hubs are the territory.

No other container builder organises tracking this way. Rival tools generate one container per run from a questionnaire or a tool-first picker: Stape's Setup Wizard asks about your stack and destinations and auto-imports a web plus server template; Servero's generator is tool-first and shows a sample JSON with placeholder IDs; Analytics Mania's recipes are single-purpose downloads, one trick per container. None of them gives you a browsable index of every platform × tool × event combination with a guide for each one. That is what this page is for — and the enrichment below explains how to use it without getting lost in it.

How to pick: platform, then tool, then event

Three questions, in this order. Answering them in a different order is the most common way people build the wrong container.

1. What do you run? A store is WooCommerce or BigCommerce. A content site, blog or lead-generation site is WordPress. A funnel or booking site built in HighLevel is GoHighLevel. If your site is on a platform that is not listed — Shopify, Wix, Magento — there is no recipe for it here, and no guide on this page will generate a container for it. That is a real boundary, stated plainly: the builder covers these four platforms, and using a WooCommerce recipe on a Shopify store will not work, because the events and the dataLayer pushes are platform-specific.

2. Where must the data go? Start with GA4 — it is the analytics baseline every setup needs, and it is the tool whose reports tell you whether the rest is working. Then add the ad platforms you actually spend on: Google Ads if you run search or shopping campaigns, Meta Pixel if you run Facebook or Instagram ads, TikTok, Pinterest, LinkedIn, Microsoft Advertising and X Pixel on the same basis. Adding a tool you do not use creates tags that fire into an account nobody reads, and each one is another place a mistake can hide.

3. Which events first? The money events before the engagement events. For a store that means purchase, add_to_cart and begin_checkout before scroll or file downloads. For a lead site it means form submissions and calendar bookings before page views. The table below is the short version of that decision.

Your site Start with this hub Tools first Events first
WooCommerce store WooCommerce GA4, then Google Ads + Meta purchase, add_to_cart, begin_checkout
BigCommerce store BigCommerce GA4, then Google Ads + Meta purchase, add_to_cart, begin_checkout
WordPress content / lead site WordPress GA4, then Google Ads + Meta form_submission, page_view, scroll
GoHighLevel funnel / booking site GoHighLevel GA4, then Google Ads + Meta ghl_calendar_booking, ghl_form_submission, ghl_thank_you_view

The four platforms and their event sets

WooCommerce — 23 events

WooCommerce is the store platform with the widest event set here: 14 ecommerce events and 9 engagement events. The ecommerce set covers the whole buying funnel — page_view, view_item, view_item_list, add_to_cart, remove_from_cart, begin_checkout, add_payment_info, purchase, refund, add_to_wishlist, apply_coupon, search, login and sign_up — and the engagement set covers the rest of what visitors do: form_submission, lead, phone_click, whatsapp_click, email_click, outbound_click, scroll, file_download and calendly_booking. Two details to note: WooCommerce has no add_shipping_info event (BigCommerce does), and it is the only store platform here with a Calendly booking event, for stores that take bookings as well as orders. The three events that do the commercial work are purchase (revenue, the event every ad platform optimises on), add_to_cart (buying intent, and the basis of retargeting audiences) and begin_checkout (the funnel step whose gap to purchase diagnoses checkout problems). A WooCommerce setup with GA4, Google Ads and Meta and all 23 events generates 37 tags, 23 triggers and 6 variables. See the WooCommerce hub for the full walkthrough.

WordPress — 21 events

WordPress is the content and lead-generation platform, so its event set is built around forms and reading behaviour rather than carts. The builder offers 21 events: 11 conversions — Form Submission, HubSpot Form Submission, Contact Form 7 Submission, WPForms Submission, Gravity Forms Submission, Comment Submission, Newsletter Signup, User Login, User Registration, Calendly Booking Scheduled and Live Chat Started — and 10 engagement events — Page View, Scroll Depth, Outbound Link Click, File Download, Phone Number Click, Email Link Click, WhatsApp Click, Site Search, Video Play and Video Complete. Twelve of the 21 are pre-checked by default; the form-plugin variants and the comment, newsletter and live-chat events are left unchecked, so check them deliberately if you need them. The form plugins each get their own event because each plugin's form behaves differently and each one breaks differently. If your WordPress site is a WooCommerce store, use the WooCommerce hub instead: the WordPress guides do not cover product, cart or checkout events. See the WordPress hub for the install routes and the full event list.

TagManagerBuilder step 3 showing the 21 WordPress tracking events
The builder's event picker for WordPress: 21 events — 11 conversions (form submissions, logins, bookings, live chat) and 10 engagement events. Twelve are pre-checked by default.

BigCommerce — 23 events

BigCommerce matches WooCommerce at 23 events, with one difference that matters: it has add_shipping_info, the step between begin_checkout and add_payment_info, giving it 15 ecommerce events (page_view, view_item, view_item_list, add_to_cart, remove_from_cart, begin_checkout, add_shipping_info, add_payment_info, purchase, refund, add_to_wishlist, apply_coupon, search, login, sign_up) and 8 engagement events (form_submission, lead, phone_click, whatsapp_click, email_click, outbound_click, scroll, file_download). It has no Calendly booking event. The purchase event needs the same care as on WooCommerce — BigCommerce does not push purchase data into the dataLayer by itself, so the order details have to be pushed from the order confirmation page, and the purchase tag has to be guarded against double-firing when a customer reloads that page. A BigCommerce setup with GA4, Google Ads and Meta and all 23 events generates 37 tags, 23 triggers and 6 variables. See the BigCommerce hub for the Script Manager install and the confirmation-page dataLayer push.

GoHighLevel — 5 events

GoHighLevel is the smallest set here and the most focused: 5 events, no ecommerce. Four conversions — ghl_form_submission, ghl_survey_submission, ghl_calendar_booking and ghl_thank_you_view — plus page_view. That is the whole funnel for a HighLevel site: someone submits a form or a survey, books a calendar slot, or lands on a thank-you page. The name to watch is ghl_form_submission: practitioner guides often write it as ghl_form_submit, and a trigger listening for the wrong name silently never fires — event names are case-sensitive and must match exactly. A GoHighLevel setup with GA4, Google Ads and Meta and all 5 events generates 17 tags, 5 triggers and 1 variable. The install is also different from the other platforms: GoHighLevel pages live inside funnels and websites, and embedded widgets such as Calendly sit inside iframes, so the booking event is detected through the platform's own mechanism rather than a normal page trigger. See the GoHighLevel hub for the funnel and website install steps.

Build your container with the builder

Building a container by hand means creating a Google tag, a GA4 event tag for every event, dataLayer variables for the values each event needs, a trigger for each event name, plus the equivalent tags for Google Ads and Meta — repetitive work where one mistyped event name silently breaks an event. The builder on this site generates that container:

Step 1. Choose your platform — WooCommerce, WordPress, BigCommerce or GoHighLevel. The platform decides which events the builder offers.

TagManagerBuilder step 1 showing the four website platform options
Step 1 of the builder: pick your website platform — WooCommerce, WordPress, BigCommerce or GoHighLevel. The platform decides which events the builder offers.

Step 2. Pick the tools you use — GA4 at minimum, then Google Ads and Meta if you run ads. TikTok, Pinterest, LinkedIn, Microsoft Advertising and X can be added in the same run.

TagManagerBuilder step 2 with Google Analytics 4, Google Ads and Meta Pixel selected
Step 2: GA4, Google Ads and Meta Pixel selected for this WooCommerce run. TikTok, Pinterest, LinkedIn, Microsoft Advertising and X can be added in the same run.

Step 3. Pick the events you want to track. For a standard setup, select all of them — an unused event costs nothing, and the funnel events are what make the reports useful later.

TagManagerBuilder step 3 showing the 23 WooCommerce tracking events
Step 3: the 23 events the builder offers for WooCommerce — 14 ecommerce (page view to sign up) and 9 engagement (form submission to Calendly booking). Select the events you need, or Select All for the full funnel.

Step 4. Enter your real IDs — your GA4 Measurement ID, Google Ads conversion ID and label, Meta Pixel ID. The builder uses the IDs you type, not placeholders, so the container it generates is ready to import. Other generators show placeholder IDs such as G-XXXXXXXXXX that must be replaced before anything works; this one does not.

TagManagerBuilder step 4 with sample tracking IDs entered for GA4, Google Ads and Meta Pixel
Step 4: entering your tracking IDs. Sample IDs are shown here (G-XXXXXXXXXX, AW-000000000, 000000000000000) — the builder uses the real IDs you type, not placeholders.

Step 5. Check the Advanced options. Consent Mode v2, Enhanced Conversions, Debug Mode and Cross-Domain Tracking are off by default, and so is Server-Side Tracking. The one option on by default is "Generate Ecommerce DataLayer references", which creates the dataLayer variables the ecommerce tags read. Server-side tracking applies to GA4 only — Meta, TikTok, Pinterest, LinkedIn, Microsoft Advertising and X ship as Custom HTML and need their own server-side setup outside this builder.

TagManagerBuilder step 5 advanced options for a WooCommerce container
Step 5, Advanced: Consent Mode v2, Enhanced Conversions, Debug Mode and Cross-Domain Tracking are off by default in this run; 'Generate Ecommerce DataLayer references' is checked by default. Server-side tracking applies to GA4 only.

Step 6. Review and generate. The Review step shows the machine event names before you generate, so you can catch a wrong selection before it becomes a container. Then download the container JSON and import it into GTM.

TagManagerBuilder step 6 review showing the platform, tools and event names
Step 6, Review: the builder confirms the platform, the three tools, and the machine event names before generating.
TagManagerBuilder confirmation of the generated WooCommerce container with 37 tags, 23 triggers and 6 variables
The generated container for this WooCommerce setup: 37 tags, 23 triggers and 6 variables. Meta Pixel tags are generated as Custom HTML because Meta has no native GTM tag type.

What a generated container contains

A generated container is not a black box. It has four kinds of thing in it, and knowing which is which makes the import and the debugging afterwards much easier.

The counts scale with what you select: more tools and more events mean more tags and triggers. The per-platform figures above — 37 tags for a full WooCommerce or BigCommerce run, 17 for a full GoHighLevel run — are what a complete setup looks like, not a limit.

Importing your container into GTM safely

The download is a GTM container JSON file. Importing it is a two-minute job, but doing it wrong can wipe a live container, so the order matters.

Action When to use it What happens
Merge Always, unless the container is brand new and empty New tags, triggers and variables are added alongside the existing ones; choose "rename on conflict" if a name already exists
Overwrite Only on a fresh, empty container Everything already in the container is replaced — every existing tag, trigger and variable is gone
Import into a fresh workspace first Always, on a container that matters You can review the imported tags and test them in Preview before anything touches the live version
Web JSON into a Web container only Always A server container JSON imported into a web container (or the reverse) fails with an "incompatible container" error — the two container types hold different tag and client types

The import itself is Admin, then Import Container, then choose the JSON file, the workspace, and Merge or Overwrite. After the import, check for duplicate tags before you publish: if the container already had a GA4 tag or a Meta Pixel tag and the import added a second one, every event will fire twice. And replace any placeholder IDs with real ones before publishing — a container full of sample IDs fires tags into accounts that do not exist. For the full version of what goes wrong here, see the site's import-error troubleshooting guide, which is the most-read troubleshooting post on the site for a reason.

Installing GTM on your site

The builder gives you the container. Getting GTM itself onto every page of your site is a separate step, and the route depends on the platform:

One current detail: Google's install screen now shows a single snippet placed right after the opening head tag, where older guides describe two snippets (a head script plus a noscript block after the body tag). Follow what GTM shows at the time you install — the older guides are not wrong for older containers, but they describe a screen that has changed. Whichever route you use, remove duplicate installs first: a direct gtag.js snippet, a hardcoded Meta Pixel, or an old GTM snippet left over from an earlier attempt will double-count everything the new container sends. Search for gtag.js, fbq( and any older GTM- snippet before importing.

Sending the same event to Google Ads and Meta

The same purchase, form submission or booking should feed every ad platform you use — that is the point of routing it through GTM rather than installing each platform's code separately.

Google Ads: add a Google Ads Conversion Tracking tag on the same trigger, with the conversion ID and label from your Google Ads account, and read the value and currency from the same dataLayer variables. Add the Conversion Linker tag on All Pages so clicks are attributed. Mark the purchase or booking as a conversion in Google Ads so it feeds bidding.

Meta: add the Meta Pixel base code through GTM and a Purchase (or Lead, or CompleteRegistration) event on the same trigger, with value, currency and content IDs from the same variables. Check it in Meta Events Manager with Test Events. If you later add server-side tracking, send the same eventID from browser and server so Meta deduplicates the pair instead of counting two purchases — a duplicated purchase is the fastest way to make reported return on ad spend fiction.

The one-route rule: pick GTM or the platform's native connector, not both. BigCommerce's built-in Data Solutions connectors, WooCommerce's native integrations and similar one-click connections send the same events GTM sends. Run both and every event is counted twice. Disconnect anything you are about to rebuild through GTM before you install the container.

Common errors — and how to fix them

Problem What you see Usual cause Fix
Import fails with "incompatible container" GTM refuses the file at import Server container JSON imported into a web container, or the reverse Check which container type the file is for; import web JSON into a web container only
Events fire but carry no data Tags fire in Preview; GA4 shows events with no value Placeholder IDs left in after import, or values never pushed to the dataLayer Replace every placeholder ID with a real one; check the dataLayer push exists for that event
A live container wiped by import All existing tags gone after import Overwrite chosen on a container that already had tags Restore from the container's version history; use Merge with rename on conflict in future, and import into a fresh workspace first
Every event doubled All events appear twice in GA4 and Meta GTM installed twice, or a native connector running next to GTM Load GTM once; disconnect the native connector and keep the GTM route
Purchase counted twice Revenue in GA4 is roughly double real orders Customer reloaded the confirmation or thank-you page Guard the purchase tag so it fires once per order ID; see the BigCommerce and WooCommerce hubs
Events missing entirely No event in Preview for a step that definitely happened The platform never pushed the event to the dataLayer Check what the platform pushes by default — stores do not push purchase data on their own; add the push on the confirmation page
Trigger never fires Tag exists, event exists, nothing happens Event name mismatch — triggers are case-sensitive Match the machine name exactly (ghl_form_submission, not ghl_form_submit; purchase, not Purchase)
No data after consent changes GA4 goes quiet for EEA traffic The container is blocked by the banner's category, or Consent Mode defaults to denied Load GTM itself unblocked and handle consent inside GTM with Consent Mode v2; check the Consent Mode Checker page

How to test before you publish

  1. GTM Preview mode: connect to the site, walk the funnel — view a product, add it to the cart, submit a form, book a slot. Each event should appear in Preview and fire its tags. Anything that fires on the wrong trigger is visible here before a single real visitor is affected.
  2. A test order or test submission: place a real test order or submit a real test form and watch the confirmation or thank-you page in Preview. The purchase or form_submission event must appear with the right values.
  3. GA4 DebugView: with Preview running, open DebugView and confirm the test event shows the value, currency and transaction ID where the event carries them. An event without a transaction ID cannot be tied back to the order that sent it.
  4. Meta Test Events and Google Ads: confirm the event arrives in Events Manager with the right value, and that the Google Ads conversion registers.
  5. Tag Assistant or a tag debugger: confirm the GTM script loads exactly once per page, and that no leftover gtag.js or fbq( snippet is still firing alongside it.
  6. Reload the confirmation page and confirm the purchase tag does not fire a second time. Then Submit and publish the container.
Tags list in the Tag Manager Builder GTM container showing a Google tag and GA4 event tags
The site's own live GTM container (Tag Manager Builder, GTM-5NF3RF2P): 11 tags, including a Google tag and GA4 event tags. It has no platform-specific purchase tag — this shows what an imported container's tag list looks like in structure.
GA4 Configuration tag detail in GTM showing the Google Tag type and All Pages trigger
The Google tag in the site's own container reads its Measurement ID from the {{GA4 - Measurement ID}} constant and fires on All Pages, before the GA4 event tags.
Triggers list in the Tag Manager Builder GTM container
Triggers in the site's own container: one Custom Event trigger per event name, plus All Pages. A generated container follows the same pattern.
Variables list in the Tag Manager Builder GTM container
Variables in the site's own container: Data Layer Variables for the values events carry, plus a GA4 Measurement ID constant.

Frequently asked questions

What is the difference between this recipe index and the builder wizard?

The index is the catalogue: every platform × tool × event combination, with a guide for each one. The wizard is the tool that builds the container: you pick a platform, tools and events, enter your IDs, and download a ready-to-import GTM container. Use the index to find the guide for the event you need; use the wizard to build the container that tracks it.

Can I use a recipe for a platform that is not listed, like Shopify?

No. The builder covers WooCommerce, WordPress, BigCommerce and GoHighLevel, and the recipes are built around those platforms' events and dataLayer behaviour. A recipe written for one platform will not work on another, because the event names and the data the platform pushes are different. Shopify support would need its own recipes; until it exists, do not apply these guides to a Shopify store.

What is the difference between a Web container and a Server container import?

They are different container types in GTM. A Web container holds the tags that run in the visitor's browser; a Server container holds the clients and tags that run on your tagging server. A JSON file exported for one type cannot be imported into the other — GTM refuses it with an "incompatible container" error. The recipes on this page are for Web containers. Server-side tracking is a separate setup that the Web container feeds into.

Do I need to add dataLayer code myself, or does the recipe do it?

Both, depending on the event. The recipe — the generated container — does the GTM half: tags, triggers and variables. The dataLayer push — the code that tells GTM something happened — has to come from somewhere on the page: the platform, a plugin or app, or a script you add. Stores do not push purchase data by default, so the confirmation-page push is the step most people miss. Each platform hub explains where its pushes come from.

Can I combine recipes from different platforms in one container?

No — one container per platform. A WooCommerce container listens for WooCommerce events and a WordPress container listens for WordPress events; merging them puts triggers in a container where the events they listen for never happen, and risks firing the wrong tags on the wrong site. If you run a WooCommerce store on a WordPress site, use the WooCommerce recipes: they cover the WordPress-side events (page views, form submissions) as well as the store events.

What if the event I need is not listed for my platform?

Check the platform hub first — the hub lists the full event set, and the event may be named differently from what you expect (for example, "Coupon Applied" is the machine event apply_coupon). If it genuinely is not there, the builder does not generate it, and hand-building the tag and trigger in GTM is the route: create the Custom Event trigger for the event name, the tag for the tool, and the dataLayer variables for the values. Do not rename an existing recipe to something else and hope the trigger matches — event names are case-sensitive and must match the push exactly.

Share with