Saturday, December 21

Tag: Undefined Variable

Google Tag Manager

Undefined Variable in Google Tag Manager

In the middle of October 2018, Google Tag Manager silently introduced a new feature that caused some questions in the GTM community (including me), an Undefined variable. In this quick guide, I’ll shed some light on what an Undefined variable in Google Tag Manager is and where you can use it.   First of all, you can find this variable among other User-defined variables in your GTM container: It is simple to configure. In fact, it has no settings at all (if we ignore the standard “Format Value” feature). And all this variable does is just return an undefined value. So why is it useful? The answer: you can use it in your GTM stack to keep the data cleaner. Let me explain. In September, GTM introduced Format Value option in variables’ settings that allows yo...