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'.
Post this, I created Global Parameter
productCategory %prodCategory%
Am I, missing out on something ?
Regards
Yogita
Solved! Go to Solution.
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
Hi Yogita,
Is this your data Layer element that you are passing mktgData['prodCategory'] ?
Regards,
Ketan Pardeshi.
Views
Replies
Total Likes
Yes.
Views
Replies
Total Likes
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
thanks a lot. I quickly try this.
Views
Replies
Total Likes
Sure .
If It solves your issue please mark this question as answered.
Regards,
Ketan Pardeshi
its not working
i changed it to mktgData.prodCategory. The value is passing in console but not working from DTM.
Views
Replies
Total Likes
Glad to know it worked !
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies