Services
Free toolsAll 13 tools →
Help & FAQAll FAQ →
1hold
When a GTM tag works in preview but not on the live site, the live site is loading something other than what you tested: an older version because your change was never published, a published version that lacks it, an outdated copy of the container, or the right version blocked by consent. Preview runs your workspace draft in your own browser; your visitors get the published version, with their own cookie choice.
So the question is never “is the tag broken?” but “what does the visitor’s browser actually load?”. If the problem started with your cookie banner, also read why the GTM container stops working after the consent banner.
According to Google’s help on preview and debug, preview shows your site as if the current container draft were deployed, and only in the browser where you started it. Nothing changes for visitors until you click Submit, keep Publish and Create Version selected and click Publish. If you work with environments, note that publishing to a custom environment does not send the changes to the live version.
Cache-Control: private, max-age=900, so a browser may reuse an older file for up to 15 minutes. Our own test browser once held on to version 22 after a newer version had gone live. Ad blockers can also block googletagmanager.com on the live site.An online shop published GTM versions 24 and 25 on 6 July 2026 to repair its contact-form conversion. The live site kept running version 23. The consent plugin loaded the container from a local copy on the shop’s own server, and the job that should refresh this copy had stopped on 1 July. On 10 July we replaced the copy with the current file, cleared the CDN cache and checked the live file: version 25. On 11 July a rebuild of the plugin settings switched the loader to googletagmanager.com, so the copy is no longer used.
The second trap came after a switch to basic consent mode in August. GTM now started only after consent, late in the page. The shop system wrote purchase and checkout events into the page head before that, and in this setup GTM did not pick them up – purchases went missing. Tests that push an event after the page has loaded do not show this. We added a small script that re-sends those early events once when the container starts, with a check on the order ID to avoid double counting. One order in early October was still counted twice, and the cause is not yet confirmed, so we keep watching it.
Treat “published” as the start of the test, not the end. After every publish, open the live site in a clean browser profile, confirm which container version it loads and run the real conversion once – as a first-time visitor who accepts cookies and as one who declines.
gtm.js and check where the file comes from: googletagmanager.com or a path on your own domain or plugin folder."version". The number must match the published version in GTM.Your tags behave differently live than in preview? We trace which container your visitors really load and fix publishing, consent and cache issues. Book a free initial call or see how we handle Google Ads and conversion tracking for our clients.
Our Google-certified experts are happy to help – free and without obligation.
Book a meetingWe check your GTM container for faulty tags, missing triggers and data gaps – free and without obligation.
Get your GTM audit
We need your consent before you can continue on our website.
If you are under 16 and wish to give consent to optional services, you must ask your legal guardians for permission.
We use cookies and other technologies on our website. Some of them are essential, while others help us to improve this website and your experience. Personal data may be processed (e.g. IP addresses), for example for personalized ads and content or ad and content measurement. You can find more information about the use of your data in our Privacy policy. There is no obligation to consent to the processing of your data in order to use this offer. You can revoke or adjust your selection at any time under settings. Please note that based on individual settings not all functions of the site may be available.
Some services process personal data in the USA. By consenting to the use of these services, you also consent to the processing of your data in the USA pursuant to Art. 49 (1) lit. a GDPR. The ECJ classifies the USA as a country with insufficient data protection according to EU standards.
Here you will find an overview of all cookies used. You can give your consent to whole categories or display further information and select certain cookies.
These services are technically required to operate the website and cannot be disabled.
Anonymised analysis of website usage so we can improve content and loading times.
Measuring advertising performance and delivering relevant ads. Without this consent we cannot evaluate our ads.
Third-party content such as videos or maps. Without consent we show a placeholder that only loads on click.