Google Tag Manager
- 13 Mar 2023
- 1 Minute To Read
- Print
- DarkLight
- PDF
Google Tag Manager
- Updated On 13 Mar 2023
- 1 Minute To Read
- Print
- DarkLight
- PDF
Article Summary
How to pass custom variables from Google Tag Manager to Whatfix?
To pass on custom variables, add the following code snippet to the Whatfix tag;
<script language='javascript' async='true' type='text/javascript'>
window._wfx_data = {
"data_type1": {{tag value1}},
"data_type2": {{tag value2}}
};
</script>
Was this article helpful?