true
or false
. We attempt to parse strings as well (if it is a literal "true"
), but it is highly recommended to pass a boolean instead.dataLayer.account.type
return _satellite.getVar("account_type") === "internal";
account_type_internal
data element:function() { }
already, so no need to add this like you would with other tag managers, like Google Tag Manager. Additionally, the extension will wrap your code in a try { } catch() { }
to ensure no errors stop the code execution on the page. gtag
function. The module will return the function after the relevant variables, functions, and accounts have been configured. gtag
function like you would normally: