GTM Tracking Setup for GoHighLevel
Configure GA4, Google Ads, Meta, TikTok and more for GoHighLevel and generate a ready-to-import Google Tag Manager container.
- Google Analytics 4 for GoHighLevel
GA4 configuration and ecommerce event tracking via a native Google tag.
- Google Ads for GoHighLevel
Conversion tracking tags using Google Ads' native GTM tag type.
- Meta Pixel for GoHighLevel
Facebook/Instagram Pixel base code and standard events, generated as Custom HTML.
- TikTok Pixel for GoHighLevel
TikTok Pixel base code and standard events, generated as Custom HTML.
- Pinterest Tag for GoHighLevel
Pinterest base tag and standard events, generated as Custom HTML.
- LinkedIn Insight Tag for GoHighLevel
LinkedIn Insight Tag base code, generated as Custom HTML.
- Microsoft Advertising (UET) for GoHighLevel
Universal Event Tracking base tag and standard events, generated as Custom HTML.
- X (Twitter) Pixel for GoHighLevel
X Pixel base code and standard events, generated as Custom HTML.
Quick answer
To track GoHighLevel with Google Tag Manager, install a GTM web container on every funnel and website (paste the two GTM snippets into each funnel or website's Head and Body Tracking Code fields), then build the tags around the five events GoHighLevel actually produces: form submissions, survey completions, calendar bookings, thank-you page views and page views. The hard part is that GoHighLevel forms, surveys and calendars load inside an iframe, so GTM's built-in Form Submission trigger cannot see them — the submit has to be caught from the message the widget posts to the parent page. The recipes on this page generate a container that does that for you: the Google tag plus GA4, Google Ads and Meta event tags, triggers and variables for those five events, using the real IDs you type in. A GoHighLevel setup built this way (GA4 + Google Ads + Meta) generates 17 tags, 5 triggers and 1 variable.
How GoHighLevel tracking works — and why forms go missing
GoHighLevel is a CRM with funnels, websites, forms, surveys and calendars in one account, and that is exactly what makes its tracking awkward. A visitor's journey is not one page with one form. It is a funnel page with an embedded form, a calendar widget on another page, and a survey somewhere else — and the lead is created inside a widget, not on your page.
Google Tag Manager does not track anything on its own. It is a delivery system: it loads tags (GA4, Google Ads, Meta Pixel and the rest) and decides when each one fires, based on triggers that listen to the dataLayer. The dataLayer is a small JavaScript object on the page that describes what just happened — which form was sent, which booking was confirmed.
On a GoHighLevel funnel that chain has four links, and the first one is where most setups break:
- The widget tells the page something happened. GoHighLevel forms, surveys and calendars are embedded as iframes. GTM cannot see inside an iframe, so its built-in Form Submission trigger never fires for them. What the widget does instead is post a message to the parent page when it submits — a form or survey submit sends a set-sticky-contacts message carrying the contact details, and a calendar booking sends a msgsndr-booking-complete message. That message is the only signal a form submission produces on the page.
- GTM listens with triggers. A listener catches those messages and pushes an event into the dataLayer — ghl_form_submission for a form, ghl_survey_submission for a survey, ghl_calendar_booking for a booking. A trigger fires when the dataLayer event name matches.
- Tags send the data on. A Google tag loads the GA4 library on every page; a GA4 event tag fires per event and reads the values from dataLayer variables. The same event feeds Google Ads and Meta tags on the same trigger.
- The destination receives it. GA4 DebugView and its reports, Google Ads conversions, Meta Events Manager — each one confirms the same events from its own side.
If you see page views in GA4 but no leads, the first link is usually the broken one: nothing is listening for the widget's message, or the listener pushes an event name nothing listens for. Check with GTM Preview mode on a page with a form — submit it, and if no ghl_form_submission event appears in the left-hand event list, nothing downstream can work. The single most common version of this failure is a name mismatch: several practitioner guides build a listener that pushes ghl_form_submit, while this site's builder generates a container that listens for ghl_form_submission. Both names describe the same submit, but a trigger only fires on the exact name it was built for. Pick one name and use it everywhere.
Build your GoHighLevel container with TagManagerBuilder
Building the 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, a listener for the iframe messages, plus the equivalent tags for Google Ads and Meta. It is repetitive work and one mistyped event name silently breaks an event — the name-mismatch problem above.
The builder on this site generates that container for you:
- Choose GoHighLevel as the platform and pick the tools you actually 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.
Step 1 of the builder: GoHighLevel selected as the website platform. - Pick the events you want to track. The builder offers five for GoHighLevel: form submission, survey completed, calendar booking and thank-you page view under Conversion, plus page view under Engagement. There are no ecommerce events for GoHighLevel — it is a CRM and funnel platform, not a store, so there are no orders or cart values to track.
Step 2: GA4, Google Ads and Meta Pixel selected — the three tools most GoHighLevel funnels need first. TikTok, Pinterest, LinkedIn, Microsoft Advertising and X can be added in the same run.
Step 3: the five events the builder offers for GoHighLevel — form submission, survey completed, calendar booking and thank-you page view under Conversion, plus page view under Engagement. No ecommerce events are offered for GoHighLevel. - 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.
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. - Check the Advanced options. Consent Mode v2, Enhanced Conversions, Debug Mode and Cross-Domain Tracking are off by default. Turn on Cross-Domain Tracking if your funnels live on a different domain from your main site, or a visitor who clicks from one to the other looks like a new session with a lost source. 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 (for example Meta Conversions API) outside this builder.
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. - Review and generate. The Review step shows the five machine event names — ghl_form_submission, ghl_survey_submission, ghl_calendar_booking, ghl_thank_you_view, page_view — before you generate. A GoHighLevel setup with GA4, Google Ads and Meta generates 17 tags, 5 triggers and 1 variable.
Step 6, Review: the builder confirms GoHighLevel, the three tools, and the five machine event names — ghl_form_submission, ghl_survey_submission, ghl_calendar_booking, ghl_thank_you_view and page_view — before generating. - Download the container JSON and import it into GTM (Admin → Import Container). Choose Merge and rename on conflict if the container already has tags; choose Overwrite only on a fresh, empty container.
The generated container for this GoHighLevel setup: 17 tags, 5 triggers and 1 variable. Meta Pixel tags are generated as Custom HTML because Meta has no native GTM tag type.
The recipe links below the builder take you to the same setup broken down per tool, so you can check exactly what each generated tag does before you import it.
Installing the container on GoHighLevel: funnels, websites and embedded widgets
The builder gives you the container. Getting its two snippets onto every GoHighLevel page is a separate step, and where they go depends on where the page lives. GoHighLevel has no single global tracking-code field that covers every funnel, so repeat the install for each funnel or website — and never install the container twice on the same page, or every event doubles.
| Where the page lives | Where the snippets go | Notes |
|---|---|---|
| GoHighLevel funnel (Sites → Funnels) | Funnel Settings → Head Tracking Code (head snippet) and Body Tracking Code (noscript block) | Save and publish the funnel after pasting; the snippets then load on every step of that funnel |
| GoHighLevel website (Sites → Websites) | Website Settings → Head and Body Tracking Code fields | Same pattern as a funnel; one install per website |
| Form, survey or calendar embedded on an external site (for example WordPress) | GTM goes on the external site, not in GoHighLevel | The widget is an iframe on that page, so the container must load on the page that hosts the embed; the listener then catches the widget's messages there |
| GoHighLevel chat widget | Same funnel/website tracking code fields | The widget loads with the page, so it is covered by the same install |
Funnel install (the common case): open the funnel, go to Settings, paste the head snippet — the <script> block — into the Head Tracking Code field, and the <noscript> block into the Body Tracking Code field. Save, then publish the funnel. The head snippet should sit as high in the head as possible so the container is ready before the widgets load; if it loads after the form, the first submit can happen before the listener exists.
External-site embeds: if the form lives on a WordPress page, install GTM on that WordPress hub instead. Do not also paste the snippets into GoHighLevel for the same page — the container would load twice and every event would double.
Which GoHighLevel events matter — and why
A GoHighLevel account is a lead machine, not a store: there is no purchase at the end of the funnel. The events that matter are the ones that prove someone became a lead, booked time, or answered your questions.
| Event | Fires when | What it tells you | Key data |
|---|---|---|---|
| ghl_form_submission | A GoHighLevel form is sent (contact, quote, application, opt-in) | A lead was created — the core conversion for almost every funnel | form id, contact name, email, phone |
| ghl_survey_submission | A GoHighLevel survey is completed | A visitor answered your qualifying questions, not just left contact details | survey id, answers |
| ghl_calendar_booking | A calendar booking is confirmed | A lead turned into a booked appointment — the highest-intent action in most funnels | booking id, calendar, contact details |
| ghl_thank_you_view | A thank-you page loads after a form or booking | A fallback conversion when the iframe message is missed — and a check that the funnel's last step was reached | page path |
| page_view | Any funnel or website page loads | Traffic, landing pages, funnel step drop-off | page location, page title |
Two events do most of the commercial work. ghl_form_submission is the lead: a form sent is the closest thing a funnel has to a conversion, so it should feed GA4 and your ad platforms as a conversion, not sit as an uncounted event. ghl_calendar_booking is the appointment: for agencies, coaches, clinics and any business that sells calls, a confirmed booking is worth far more than a form fill, and it is the event your ads should optimise for once bookings are flowing.
ghl_thank_you_view deserves a note of its own. It is a useful safety net — if the iframe message is ever missed, the thank-you page still proves the funnel completed. But do not use it as your only conversion: anyone who lands on a thank-you URL directly, or refreshes it, is counted again. Use the form or booking event as the primary conversion and the thank-you view as a backup and a diagnostic.
ghl_survey_submission is the one most accounts skip and later regret. Survey answers are qualification data — budget, timeline, service needed — and they are the cheapest way to tell a good lead from a bad one before anyone picks up the phone.
The dataLayer: what GTM actually reads
Every event above arrives as a dataLayer.push(). This is what a ghl_form_submission push looks like — the shape the generated container expects:
dataLayer.push({
event: 'ghl_form_submission',
form_id: 'contact-form',
form_name: 'Contact form',
page_path: '/contact/'
});
The listener that produces this push is the part you never see in GTM's trigger list: it sits in a Custom HTML tag, waits for the widget's postMessage, and pushes the event with the contact details the widget sent. If you build the listener yourself, the same rules apply as for every event: the event name must match the trigger exactly (ghl_form_submission, not ghl_form_submit or form-sent), and values must be plain strings or numbers, not formatted text. The email and phone that arrive with the submit are what make Google Ads Enhanced Conversions and Meta matching work — with consent — because they let the platforms match a conversion to a signed-in user even when cookies are missing.
GoHighLevel also has a second route to GA4 that bypasses the browser entirely: its workflows include a Google Analytics 4 action that sends a custom event from the CRM itself, using your Measurement ID and a Measurement Protocol API secret. That is useful for pipeline milestones that happen after the page — appointment showed, estimate sent, job won — with revenue as the value. Note that those events can take 24 to 48 hours to appear in GA4, so do not panic on day one, and do not use the workflow action for the same events the browser already sends, or they will be counted twice.
Sending the same events to Google Ads and Meta
The same ghl_form_submission and ghl_calendar_booking events should feed every ad platform you use — that is the point of routing them through GTM rather than installing each platform's code separately.
Google Ads: add a Google Ads Conversion Tracking tag on the ghl_form_submission trigger for lead forms, and a second conversion action on the ghl_calendar_booking trigger for bookings, with the conversion ID and label from your Google Ads account. Add the Conversion Linker tag on All Pages so clicks are attributed. Mark both as conversions in Google Ads so they feed bidding. If you collect email or phone in the form, Enhanced Conversions can match conversions that cookies miss — the values are already in the dataLayer push.
Meta: add the Meta Pixel base code through GTM and a Lead event on the same ghl_form_submission trigger, plus a Schedule or CompleteRegistration event on ghl_calendar_booking. Check both in Meta Events Manager with Test Events. Meta has no native GTM tag type, so its tags are generated as Custom HTML using the platform's official base code. If you later add server-side tracking, send the same eventID from browser and server so Meta deduplicates the pair instead of counting two leads — a duplicated purchase or lead is the fastest way to make reported return on ad spend fiction.
TikTok, Pinterest, LinkedIn and the others follow the same pattern in the generated container: one event tag per platform on the same trigger, reading the same dataLayer variables. Adding a platform later means adding its tag, not rebuilding the listener.
Common GoHighLevel GTM errors — and how to fix them
| Problem | What you see | Usual cause | Fix |
|---|---|---|---|
| Forms submit but nothing in GA4 | Page views flow, no ghl_form_submission in DebugView | No listener for the widget's message, or GTM not installed on the page hosting the form | Install GTM on the page with the embed; check in Preview that the event appears after a test submit |
| Event name mismatch | Listener fires, tags never fire | Hand-built listener pushes ghl_form_submit; the generated container listens for ghl_form_submission | Align the names — rename the listener's push or add a trigger for your name; never run both listeners at once |
| Bookings missing but forms track | Forms appear, ghl_calendar_booking never does | Calendar widget posts a different message (msgsndr-booking-complete) and the booking trigger is not wired to it | Test a real booking in Preview and confirm the booking event appears; check the calendar widget is on a page with GTM |
| Events doubled | Every lead counted twice in GA4 | GTM installed twice — funnel settings plus a global snippet, or GTM plus a direct gtag.js install | Load GTM once; remove the direct install and keep the GTM route |
| Thank-you page as the only conversion | Conversions inflate, including refreshes and direct visits | ghl_thank_you_view used as the primary conversion | Use the form or booking event as the primary conversion; keep the thank-you view as a backup |
| Meta counts two leads per booking | Meta reports double the bookings GA4 shows | Browser and server both send the event without a shared event ID | Send the same eventID from both and let Meta deduplicate; check in Events Manager |
| No data after consent changes | GA4 goes quiet for EEA traffic | Consent Mode v2 defaults to denied and no consent banner update reaches GTM | Wire the consent banner to GTM's consent API and test with a fresh EEA session |
| Sessions split across domains | Funnel visits look like new sessions with a lost source | Funnel on a different domain from the main site, no cross-domain config | Enable Cross-Domain Tracking in the builder's Advanced step and in GA4's cross-domain settings |
| Import fails | "Invalid container" or missing tags on import | Wrong file, or merging into a workspace with conflicting names | Re-download from the builder, import into a fresh workspace first, then merge with rename on conflict |
The double-install case is worth a note of its own: before adding anything, search the funnel settings, the website settings and any external site for gtag.js, fbq(, and any older GTM- snippet. A GoHighLevel account that has collected tracking snippets over the years almost always has at least one leftover, and it is the single most common cause of doubled numbers.
How to test before you publish
- GTM Preview mode: connect to a funnel page, submit a test form, complete a test survey, and book a test appointment. Each event should appear in Preview and fire its GA4 event tag. Anything that fires on the wrong trigger is visible here before a single real visitor is affected.
- GA4 DebugView: with Preview running, open DebugView and confirm the test form submission shows form_id and the test booking shows the booking details. An event without an identifier cannot be tied back to the form or calendar that sent it.
- Meta Test Events: confirm the Lead and booking events arrive in Events Manager with the right values.
- A real test booking: book an appointment yourself and confirm it arrives in GA4 as a conversion and, if you run ads, in Google Ads and Meta. A test booking is the only check that covers the calendar widget's confirmation step — the point where most booking tracking actually breaks.
- Tag Assistant or a tag debugger: confirm googletagmanager.com/gtm.js loads exactly once per page.
Frequently asked questions
Why are my GoHighLevel form submissions not showing in GA4?
Work backwards: is GTM installed on the page that hosts the form (check in Tag Assistant)? Does submitting the form push a ghl_form_submission event to the dataLayer (check in GTM Preview)? Does the event name match the trigger exactly — ghl_form_submission, not ghl_form_submit? And does the form sit in an iframe, where GTM's built-in Form Submission trigger cannot see it? If the last one is the cause, the fix is the listener, not a new trigger.
Do I need a separate GTM container for each GoHighLevel funnel?
No. One container can serve every funnel and website in the account — install the same two snippets in each funnel's and website's tracking code fields. Use a separate container only if different sub-accounts need different tags, for example one sub-account's Meta Pixel must not fire on another's funnels.
Can I track GoHighLevel calendar bookings as Google Ads conversions?
Yes. Fire a Google Ads Conversion Tracking tag on the ghl_calendar_booking trigger and mark it as a conversion in Google Ads. It is the highest-intent conversion in most funnels, so once bookings are flowing it is the action your campaigns should optimise for. Add the email and phone from the booking for Enhanced Conversions.
Why does the builder offer no purchase or ecommerce events for GoHighLevel?
Because GoHighLevel is a CRM and funnel platform, not a store. Its conversions are leads, survey completions and bookings — there are no orders, carts or transaction values for an ecommerce dataLayer to carry. If you sell through a store as well, track the store with the WooCommerce recipes and keep the two setups apart.
Should I use the builder's container or build the listener by hand?
Use the builder for the standard setup: it generates the listener, the tags, the triggers and the variables in one container, with the event names already matched. Build the listener by hand only if you need custom fields or mapping the builder does not cover — and if you do, never run your hand-built listener alongside the generated container, or every event fires twice.
What about server-side tracking for GoHighLevel?
The builder's server-side option applies to GA4, since it uses GTM's native tag type. Meta, TikTok, Pinterest, LinkedIn, Microsoft Advertising and X ship as Custom HTML and need their own server-side setup — for Meta that means the Conversions API, usually through a server container. Start with the browser setup on this page, verify it, then add server-side as a second step.