Use JavaScript to deliver your content
Integrate Whatfix with Google Tag Manager using JavaScript
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>