Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "49059",
"name": "Trek FX+ 7 Handlebar/Stem",
"price": "",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "35019",
"name": "Manubrio y poste de manubrio Bontrager RSL MTB",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "09191",
"name": "Manubrio Bontrager Crivitz MTB",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35282",
"name": "Bontrager Approved 31.8 Matte Alloy MTB Handlebar",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}