Top
Google Tag Manager
  • 1 minute to read
  • Print
  • Dark
    Light

Google Tag Manager

  • Print
  • Dark
    Light

How to pass custom variables from Google Tag Manager to whatfix

Please add the following code snippet to the whatfix tag to pass on custom variables:

<script language='javascript' async='true' type='text/javascript'>
    window._wfx_data = {
        &quot;data_type1&quot;: {{tag value1}},
        &quot;data_type2&quot;: {{tag value2}}
    };
</script>
Was this article helpful?