Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34038",
"name": "Trek Commuter Pro RT Flare RT Bike Light Set",
"price": "157.49",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34036",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "80.49",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23711",
"name": "Kit de Luzes Bontrager Ion Pro RT / Flare RT",
"price": "132.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "30763",
"name": "Conjunto de Luzes Bontrager Ion Comp R/Flare R City",
"price": "87.49",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "41450",
"name": "Conjunto de Luzes Trek Ion 200 RT/Flare RT",
"price": "76.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14259",
"name": "Conjunto de luzes Bontrager Ion 100 R/Flare R City",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "44447",
"name": "Conjunto de luzes Ion 50 R / Flare R Metro",
"price": "31.49",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "23710",
"name": "Kit de Luzes Bontrager Ion 200 RT / Flare RT",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "08923",
"name": "Kit de Luzes Bontrager Glo / Ember",
"price": "17.49",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}