Debug Mode variable

Is there a variable to detect if tag manager is running in debug mode? Or another method to accomplish this?

I’m trying to avoid debug data to end up in production analytics.

Hi, there’s a switcher for that:

You could also create a cookie variable checking the value of stg_debug cookie.

I saw the switch, but that’s only to prevent a tag from firing, I want it to fire but with other variables. So I’ve solved it like this:

1 Like