The Real Boolean Variable for Google Tag Manager Server Container allows you to return a strictly typed boolean value (true
or false
) based on a selected option, avoiding common type coercion issues (i.e. returning as a string instead of a boolean).
- Add the Real Boolean Variable to your GTM Server container.
- Choose whether the variable should return
true
orfalse
by selecting the desired option in the template settings.
The Real Boolean Variable for GTM Server is developed and maintained by the Stape Team under the Apache 2.0 license.