Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "23365",
"name": "Conjunto de Cabos de Mudanças e Guias de Cabo Bontrager Elite",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24736",
"name": "Conjunto de Cabos de Travão e Guias de Cabo Bontrager Elite",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23366",
"name": "Conjunto de Cabos de Mudanças e Guias de Cabo Bontrager Comp",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "24737",
"name": "Conjunto de Cabos de Travão e Guias de Cabo Bontrager Comp",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "23277",
"name": "Conjunto de Cabos de Mudanças e Guias de Cabo Bontrager Pro",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "24735",
"name": "Conjunto de Cabos de Travão e Guias de Cabo Bontrager Pro",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "24734",
"name": "Conjunto de Cabos de Travão e Espirais de Cabo Bontrager XXX",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "23364",
"name": "Conjunto de Cabos de Mudanças e Guias de Cabo Bontrager XXX",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "23363",
"name": "Conjunto de Cabo e Espiral de Mudanças Bontrager",
"price": "3.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "24733",
"name": "Conjunto de Cabos de Travão e Guias de Cabo Bontrager",
"price": "3.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}