Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "45109",
"name": "Casque VTT Trek Blaze WaveCel",
"price": "249.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "More Options",
"position": 1
}
,
{
"id": "45106",
"name": "Casque de VTT Trek Rally WaveCel",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "More Options",
"position": 2
}
,
{
"id": "45104",
"name": "Casque VTT Trek Quantum WaveCel",
"price": "119.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white_gold",
"list": "More Options",
"position": 3
}
,
{
"id": "36948",
"name": "Casque de VTT Trek Rally WaveCel",
"price": "118.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "36025",
"name": "Casque cycliste Trek Solstice Mips",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "36028",
"name": "Casque cycliste Trek Solstice",
"price": "44.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "25361",
"name": "Casque VTT Bontrager Blaze WaveCel",
"price": "188.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 7
}
,
{
"id": "31565",
"name": "Casque VTT Bontrager Rally WaveCel",
"price": "101.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "More Options",
"position": 8
}
,
{
"id": "21849",
"name": "Casque Bontrager Quantum Mips",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
,
{
"id": "30467",
"name": "Casque Bontrager Solstice Mips",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "More Options",
"position": 10
}
,
{
"id": "30482",
"name": "Casque Bontrager Solstice",
"price": "31.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}