Variable by Javascript

Google tag support 2 type of javascript based variable:

  • Global Javascript Variable
  • Custom Javascript Variable

Try to debug this page in Single page with WASP, you will see a custom dimension with index 1 and 2 where i set up a global javascript variable with value “Hey I am global variable” and also variable based on custom javascript “Today is << your current date >>”


You ask for interaction ? no problem, just click here , interaction done through GTM

Have fun with javascript variable !

Leave a Reply

Your email address will not be published. Required fields are marked *