From the course: Learning Google Tag Manager

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using Preview and Debug modes

Using Preview and Debug modes - Google Tag Manager Tutorial

From the course: Learning Google Tag Manager

Start my 1-month free trial

Using Preview and Debug modes

- So far we've just been publishing directly after each change we make for illustration purposes. And that works fine if you're the only developer, if this is a personal blog or something like that, but in a corporate environment, publishing is not something that should be done casually. Instead we use the preview debug mode for all of our testing then publish only when we're absolutely ready. So preview mode is really neat. It sets a special cookie that only your browser can see. And this sets a special flag for you and tag manager, so that the changes you make to your tags, triggers variables in this current container version that you're editing will show up as live in your browser, almost like you publish them, but everyone else in the world who goes to your site will still see the previously published version. Let's show you exactly how this works. So we come over here and let's say we want to preview this particular…

Contents