Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36025",
"name": "Capacete Trek Solstice MIPS",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "40250",
"name": "Capacete Trek Circuit WaveCel",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "More Options",
"position": 2
}
,
{
"id": "31568",
"name": "Capacete Bontrager Starvos WaveCel",
"price": "83.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "31565",
"name": "Capacete de Montanha Bontrager Rally WaveCel",
"price": "101.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "25370",
"name": "Capacete Bontrager Charge WaveCel Commuter",
"price": "144.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "More Options",
"position": 5
}
,
{
"id": "36028",
"name": "Capacete de ciclismo Trek Solstice",
"price": "44.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "21849",
"name": "Capacete Bontrager Quantum Mips",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "30467",
"name": "Capacete Bontrager Solstice Mips",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "30482",
"name": "Capacete Bontrager Solstice",
"price": "31.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}