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).
Getting Started
- Add the Real Boolean Variable to your GTM Server container.
- Choose whether the variable should return
trueorfalseby selecting the desired option in the template settings.
Useful links:
Open Source
The Real Boolean Variable for GTM Server is developed and maintained by the Stape Team under the Apache 2.0 license.