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