Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34589",
"name": "Casque de vélo de route Trek Velocis Mips",
"price": "299.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "More Options",
"position": 1
}
,
{
"id": "37124",
"name": "Casque de route Trek Ballista Mips",
"price": "299.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "36025",
"name": "Casque cycliste Trek Solstice Mips",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "36028",
"name": "Casque cycliste Trek Solstice",
"price": "44.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "14896",
"name": "Casque route Bontrager Velocis Mips",
"price": "175.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25367",
"name": "Casque pour vélo de route Bontrager XXX WaveCel",
"price": "164.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "21849",
"name": "Casque Bontrager Quantum Mips",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "31568",
"name": "Casque cycliste Bontrager Starvos WaveCel",
"price": "83.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "30467",
"name": "Casque Bontrager Solstice Mips",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "More Options",
"position": 9
}
,
{
"id": "30482",
"name": "Casque Bontrager Solstice",
"price": "31.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}