Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "45109",
"name": "Casque VTT Trek Blaze WaveCel",
"price": "275.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "More Options",
"position": 1
}
,
{
"id": "45106",
"name": "Casque de VTT Trek Rally WaveCel",
"price": "189.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "More Options",
"position": 2
}
,
{
"id": "45104",
"name": "Casque VTT Trek Quantum WaveCel",
"price": "139.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white_gold",
"list": "More Options",
"position": 3
}
,
{
"id": "36951",
"name": "Casque de cycliste Trek Starvos WaveCel",
"price": "139.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "36948",
"name": "Casque de VTT Trek Rally WaveCel",
"price": "132.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "More Options",
"position": 5
}
,
{
"id": "36025",
"name": "Casque cycliste Trek Solstice Mips",
"price": "75.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "36028",
"name": "Casque cycliste Trek Solstice",
"price": "49.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "25361",
"name": "Casque VTT Bontrager Blaze WaveCel",
"price": "209.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 8
}
,
{
"id": "31565",
"name": "Casque VTT Bontrager Rally WaveCel",
"price": "113.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "21849",
"name": "Casque Bontrager Quantum Mips",
"price": "111.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
,
{
"id": "30467",
"name": "Casque Bontrager Solstice Mips",
"price": "47.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}