Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "37124",
"name": "Casque de route Trek Ballista Mips",
"price": "329.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "34589",
"name": "Casque de vélo de route Trek Velocis Mips",
"price": "329.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "More Options",
"position": 2
}
,
{
"id": "36025",
"name": "Casque cycliste Trek Solstice Mips",
"price": "75.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "36028",
"name": "Casque cycliste Trek Solstice",
"price": "49.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "14896",
"name": "Casque route Bontrager Velocis Mips",
"price": "207.0",
"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": "197.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "21849",
"name": "Casque Bontrager Quantum Mips",
"price": "111.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "31568",
"name": "Casque cycliste Bontrager Starvos WaveCel",
"price": "97.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "30467",
"name": "Casque Bontrager Solstice Mips",
"price": "47.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "More Options",
"position": 9
}
,
{
"id": "30482",
"name": "Casque Bontrager Solstice",
"price": "34.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}