Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41738",
"name": "Balaclava de Ciclismo Trek Windshell",
"price": "24.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41739",
"name": "Gola térmica de ciclismo Trek",
"price": "19.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41737",
"name": "Gorro de ciclismo Trek Windshell",
"price": "19.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "46737",
"name": "Boné de Ciclismo Réplica Santini Lidl-Trek Team",
"price": "15.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 4
}
,
{
"id": "41735",
"name": "Fita térmica para ciclismo Trek",
"price": "14.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "46743",
"name": "Gola Térmica de Ciclismo Santini Lidl-Trek Team",
"price": "11.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 6
}
,
{
"id": "22822",
"name": "Boné de Ciclismo Clássico Bontrager",
"price": "10.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "pinkdark_black",
"list": "More Options",
"position": 7
}
,
{
"id": "27190",
"name": "Boné de Ciclismo Bontrager Adventure",
"price": "7.5",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "grey",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}