What Is GTM Preview Mode?
GTM Preview Mode is Google Tag Manager's built-in debugging tool that shows exactly which tags fire on a given page, in what order, and with what data. Beyond manual review, a draft tag configuration can trigger GTM Preview Mode programmatically, enabling automated regression testing of tag behavior from both a data quality and a privacy perspective.
GTM Preview Mode is genuinely useful for spot-checking a single change: it shows a real-time trace of every tag that fired, skipped, or errored on the page you’re viewing. Used manually, it only covers the page you’re actively viewing in the browser state you’re in, so it can’t verify consent-gated behavior across a whole site the way Consent Simulation can. But because a draft tag configuration can trigger it directly, GTM Preview Mode can also be wired into a CI/CD Pipeline for automated regression testing, catching tag and data-quality issues before a container is published rather than relying only on a one-off manual check.