Target Global Parameter passed via DTM not working

Avatar

Avatar

YogitaBist

Avatar

YogitaBist

YogitaBist

12-02-2018

ryanr8ameliaw95025277

I followed the instructions given in the help link to pass global mbox parameters but its not working.

help article referred : Passing Parameters to a Global mbox

I followed the below steps....

I created a data element 'prodctCategory'.

Untitled.png

Post this, I created Global Parameter

productCategory  %prodCategory%

Am I, missing out on something ?

Regards

Yogita

View Entire Topic

Avatar

Avatar

ketangp28686788

Avatar

ketangp28686788

ketangp28686788

12-02-2018

Hi yogita,

data layer example :

<script type="text/javascript">

      window.dataLayer= {

           'pagename':"indexPage",

           'City' : "Mumbai"

                            }    

</script>

Since you are using data Layer here you can do it like this.

Go to the data element create new -> type JS object -> path you can set like

dataLayer.City

This will access the value in global parameters.

Regards,

Ketan Pardeshi