Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Tracking only in site header, funnel pages blank: fix

TRK-400High impactDetectedBy FunnelGuardPublished Updated
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.

Where the tracking drops out
  1. Ad clickVisitor lands with UTMs or a click ID
  2. Blank landing pageTemplate skips the header, so no tag loads
  3. Form submitLead event never sent
  4. 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

Conversions reported vs. realExample numbers
Conversions reported vs. real (example)Real leads: 40 conversions; Reported in ad platform: 6 conversions01531406Real leadsReported in ad platfo…conversions

Example: 40 real leads in a month, but only the ones coming through header-based pages are counted.

A tag that never loads

The blank template has no header, so the tag never runs and no hit is sent.

How to check if your site has it

Check each funnel page for the tag
  1. Open the funnel page in a private window

    Use the real landing, form and thank-you URLs, not the homepage.

  2. View the page source

    Right-click, choose View page source and search for your container ID (GTM-), gtag(, fbq( or googletagmanager.com.

  3. Check the Network tab

    Open DevTools, go to Network, reload and filter for collect, gtm.js or facebook.com/tr. No requests means no tag.

  4. 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.

  5. 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

Add the tag to every template
  1. 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.

  2. Add wp_head and wp_body_open

    In the template file add <?php wp_head(); ?> before </head> and <?php wp_body_open(); ?> after <body>.

  3. 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.

Google Tag Manager head snippet (replace GTM-XXXXXXX)html
<!-- 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

Fix verification
  • 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

Header-only vs. global tracking

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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.