On this page
What this issue is
Page builders let you paste tracking code (a GA4 tag, a Meta Pixel, a Google Tag Manager container) into a settings box instead of editing theme files. The code only counts once the published, public version of the page contains it. In Webflow, custom code saved in Project Settings or on a page does nothing on your live domain until you publish the site. In Elementor, code can sit in a Custom Code snippet, an HTML widget or a theme template with display conditions that never match, or an old cached copy of the page can be served.
Why it costs you leads or sales
If the tag is not on the live page, ad platforms receive no page views and no conversion events. Smart bidding in Google Ads and Meta optimises on those signals, so it loses data and spends less efficiently. Reports show traffic and leads dropping when nothing actually changed for customers. You may also pause campaigns that were working.
- Code pasted in builderSaved in Webflow settings or Elementor
- Publish stepSite not republished, or cache/condition blocks it
- Live page loads tagNo tracking script in the live HTML
- Ad platforms get eventsNo page views or conversions arrive
The code exists in the builder, but the published page never carries it.
Example: illustrative numbers. Real leads stay similar, but reported conversions fall to zero once the tag is not live.
How to check if your site has it
Open the live URL in a private window
Use your real domain, not the editor, preview link or the webflow.io staging address (unless that is what you publish to).
View the page source
Right-click and choose View page source, then search for your ID, such as G-XXXXXXX, GTM-XXXXXXX or the Meta Pixel ID, or for
googletagmanager.comandfbevents.js.Check network requests
In browser DevTools open the Network tab, reload and filter for
collect,gtm.jsorfacebook.com/tr. No requests means the tag is not running.Use a tag debugger
Google Tag Assistant or the Meta Pixel Helper extension should detect the tag. If they say nothing was found, the code is not live.
Test the pages that matter
Check the thank-you page and form pages, not just the homepage. Code set per page may be missing there.
How to fix it
Put the code in the right place
For all pages go to Site settings > Custom code > Head code (or Footer code). For one page open Pages, the page's settings, then Custom code. Click Save.
Publish the site
Click Publish in the top right and tick every domain you use, including the custom domain. Saving alone does not update the live site.
Check your plan
Custom code needs a paid Site plan (or Workspace plan for some features). Confirm the site is on a plan that includes it and the custom domain is connected.
Hard-reload the live page
Open it in a private window and look for the tag in the source.
Check where the code lives
In Elementor Pro use Elementor > Custom Code, or Site Settings. Check status is Published, not Draft, and the location is Head or Body End.
Review display conditions
Open the snippet's Display Conditions and set it to Entire Site. Remove conditions that exclude pages, logged-out users or devices.
Avoid HTML widgets for global tags
An HTML widget only loads on the page where you placed it, and script tags in widgets may be stripped. Use Custom Code or a header-scripts plugin instead.
Clear every cache
Go to Elementor > Tools > Regenerate CSS & Data, then clear your caching plugin, server cache and CDN cache.
Paste the container snippet once
Add the GTM head and body snippets in the builder's code area, then publish the site.
Publish the container
In GTM click Submit, then Publish. A saved workspace is not live.
Check triggers
Make sure tags use All Pages or the right trigger so they fire on the live domain.
How to confirm it's fixed
- The tag ID appears in the live page source on the real domain.
- Network tab shows requests to Google, Meta or your other platforms on page load.
- Tag Assistant or Pixel Helper detects the tag.
- GA4 Realtime or DebugView shows your test visit.
- Submitting a test form or reaching the thank-you page fires the conversion event.
- The tag fires once per page, not twice.
How to prevent it happening again
Make publishing part of the task, not an afterthought. Keep a short note of where each tag lives and who owns it. After any theme, plugin or builder update, recheck the live source. Avoid pasting the same tag in more than one place. Webflow also lets you publish to multiple domains, so confirm the production domain is ticked each time.
Day 0
Someone adds a Meta Pixel in Webflow custom code and saves it.
Day 0
The site is not republished. The live pages stay unchanged.
Day 3
Ad reports show no new conversions. Nobody connects it to the missed publish.
Day 7
Source is checked, site is published and events return.
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor loads your real, published pages on a schedule from the EU or the US and checks which tracking hits are actually sent to GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X and Reddit. If code was saved in a builder but never published, the hits do not appear and the check fails. A failure is re-checked from a second region before one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause.
Test traffic is marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent. It never clicks real ads and never bypasses CAPTCHAs or bot protection. The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial.
Questions people ask
Why is my Webflow custom code not showing on my live site?
Most often the site was saved but not published. Click Publish in Webflow and tick your custom domain, then view the page source on the live URL. Also check the code is in Site settings > Custom code and that your plan supports custom code.
Why is my Elementor custom code not loading?
Common causes are a snippet left as Draft, display conditions that exclude the page, an HTML widget placed on only one page, or cached pages. Set the snippet to Published with Entire Site, then regenerate Elementor CSS & Data and clear all caches.
How do I check if my tracking code is live?
Open the real URL in a private window, view the page source and search for your tag ID such as G-XXXXXXX or GTM-XXXXXXX. You can also check the Network tab for collect or gtm.js requests, or use Tag Assistant or Meta Pixel Helper.
Why does my tag work in preview but not on the real site?
Preview or the editor can run unpublished changes, while the public domain serves the last published version. Publish the site, clear caches and test the real domain again.
Do I need to publish Webflow after adding custom code?
Yes. Custom code only reaches visitors after you publish the site to the domain they use. Saving the settings changes the project, not the live pages.
Can caching hide my tracking code in Elementor?
Yes. A caching plugin, server cache or CDN can serve an older page without the snippet. Regenerate Elementor CSS & Data, then purge each cache layer and re-test in a private window.
How can I get alerted when tracking code disappears?
Use synthetic monitoring that loads your live pages and checks tracking hits. FunnelGuard does this on a schedule and sends one alert with a screenshot and likely cause when expected tags stop firing.
Related issues
- TRK-397WordPress plugin update removed tracking snippetFix guide
- TRK-399ClickFunnels/GHL funnel step missing tracking codeFix guide
- TRK-400Tracking only in site header, funnel pages use blank templateFix guide
- TRK-391Next.js/React hydration error stops tagsFix guide
- TRK-404Service worker caches old page with old tagsFix guide
- TRK-389SPA route change sends no page_viewFix guide