On this page
What this issue is
Many sites add Google Tag Manager, GA4, the Meta pixel or other snippets to the header of the theme. That works for any page built on that theme. But funnel pages are often built on a different layout: a "blank", "canvas", "full width" or "landing page" template that removes the header and footer to cut distractions.
- Ad clickVisitor lands with UTMs or a click ID
- Blank landing pageTemplate skips the header, so no tag loads
- Form submitLead event never sent
- Thank-you pageConversion never reaches ad platforms
Pages with the normal header track. The blank-template funnel pages do not, so everything after the ad click is invisible.
Why it costs you leads or sales
Example: 40 real leads in a month, but only the ones coming through header-based pages are counted.
The blank template has no header, so the tag never runs and no hit is sent.
How to check if your site has it
Open the funnel page in a private window
Use the real landing, form and thank-you URLs, not the homepage.
View the page source
Right-click, choose View page source and search for your container ID (GTM-),
gtag(,fbq(orgoogletagmanager.com.Check the Network tab
Open DevTools, go to Network, reload and filter for
collect,gtm.jsorfacebook.com/tr. No requests means no tag.Compare with a normal page
Do the same on a page using the standard theme. If it shows the tag and the funnel page does not, the template is the cause.
Use a preview tool
Google Tag Assistant or GTM Preview mode should connect to the funnel page. If it says no tag found, the page has none.
How to fix it
Find the blank template's head
Check whether the template calls
wp_head(). Many custom blank templates omit it, which also blocks plugins from adding tags.Add wp_head and wp_body_open
In the template file add
<?php wp_head(); ?>before</head>and<?php wp_body_open(); ?>after<body>.Use a site-wide tag plugin
Once the hooks exist, a tag manager or header-scripts plugin will output the snippet on every template. Check the plugin's page-type settings do not exclude your landing pages.
Add the snippet to the layout
Go to Online Store, Themes, Edit code. Open every layout your funnel pages use (for example
theme.liquidand any alternate layout) and add the tag before</head>.Use Customer events for pixels
Add ad platform pixels under Settings, Customer events so they load across the storefront and checkout, independent of the layout.
Install the container on the page
GTM only works if its snippet is on the page. Paste the head snippet and the body noscript snippet into the blank template.
Check triggers
Make sure your tags use All Pages or a URL rule that includes the funnel URLs, then publish the container.
Use project-level custom code
Open Project settings, Custom code, and paste the tag in Head code. This applies to all pages.
Publish
Publish the site. Custom code does not appear until you do.
Check page-level overrides
Open the funnel page's settings and make sure it does not rely only on its own custom code.
Add tracking code per funnel
Open the funnel, go to Settings, Tracking Code, and paste the snippet in the Head section. Each funnel has its own setting.
Check each step
You can also add code to individual steps. Confirm the form and thank-you steps have it.
Add a site-wide custom tag
Go to Settings, Custom code (under Advanced), add the snippet and apply it to All pages, placed in Head.
Check the page scope
Make sure it is not limited to specific pages.
Use code injection
Go to Settings, Developer Tools (or Advanced), Code Injection, and paste the tag in Header. This covers all pages on supported plans.
Check page-level injection
Landing pages with their own settings may need the tag added under the page's Advanced settings too.
Move the tag to a shared partial
Put the tag in a head partial or base layout that every template extends, instead of the header include.
Remove duplicates
If the header also loads it, make sure the tag loads once per page, not twice.
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
<!-- End Google Tag Manager -->How to confirm it's fixed
- View source on each funnel page and find the tag once
- Network tab shows page view requests on landing, form and thank-you pages
- GTM Preview or Tag Assistant connects to the funnel page
- Submit a test lead and see the lead event in GA4 DebugView or your ad platform's test tool
- No page sends the same event twice
How to prevent it happening again
Before
- Tag lives in the theme header
- Blank template drops the header
- Funnel pages send no data
After
- Tag loaded from a shared head or site-wide setting
- Every template outputs it once
- Landing, form and thank-you pages all report
How FunnelGuard handles this
Questions people ask
Why is my tracking not working on my landing page?
A common cause is that the tag sits in the site header and the landing page uses a blank or full-width template with no header. View the page source and search for your tag ID. If it is missing, add the tag to a place every template uses.
Why does Google Tag Manager work on my site but not on my funnel pages?
GTM only runs where its snippet is on the page. If your funnel pages use a different layout that skips the header, the snippet is absent there. Paste the head and body snippets into that layout or use a site-wide code setting.
How do I add a tracking code to every page in WordPress?
Make sure each template calls wp_head() and wp_body_open(), then use a header-scripts or tag manager plugin to output the snippet site-wide. Custom blank templates often leave these calls out, which is why tags vanish.
How can I tell if a tracking tag is on a page?
View the page source and search for your container or pixel ID, or open DevTools, go to Network and look for requests such as gtm.js, collect or facebook.com/tr. Google Tag Assistant can also tell you whether a tag is found.
Why does my thank-you page not record conversions?
The thank-you page may use a blank template without the tag, so the conversion event never fires. Check the page source for your tag and make sure the conversion trigger matches the page URL.
Will adding the tag to the template cause duplicate tracking?
Only if the same tag also loads from the header on that page. Check the page source and Network tab to make sure each tag and event appears once.
Can FunnelGuard tell me when a funnel page has no tracking?
Yes. FunnelGuard runs your funnel on a schedule and checks that tracking hits are sent at each step. If a page sends none, it re-checks from a second region and then sends one alert with a screenshot and a likely cause.
Related issues
- TRK-399ClickFunnels/GHL funnel step missing tracking codeFix guide
- TRK-398Page builder (Elementor/Webflow) custom code not publishedFix guide
- TRK-397WordPress plugin update removed tracking snippetFix guide
- TRK-392Headless checkout loses tracking from main siteFix guide
- TRK-401Iframe-embedded checkout tracking not reaching parentFix guide
- TRK-389SPA route change sends no page_viewFix guide