1

I need to fetch some data from dataLayer in the Custom Javascript variable, but when I inspect dataLayer, it's always empty even that I have pushed values to dataLayer before I run the GTM script. Does anyone know if its possible to get values from dataLayer in custom javascript variable?

4

1 回答 1

3

这个问题的答案是使用普通括号{{variable_name}}来获取dataLayer变量的值

于 2015-11-05T10:03:30.557 回答