I have setup a Data Layer Variable
type macro named orderTotal
which is linked to a variable I am pushing through on the checkout page.
In my custom HTML tag I am doing following:
var order_tot = {{orderTotal}};
But the issue is that when I test and look at the page source via browser I am getting following instead of actual data:
order_tot=google_tag_manager["GTM-[container id]"].macro(2)
Same thing is happening with another macro of similar type.
Can someone please help?