Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35041",
"name": "Chaussures VTT Trek RSL",
"price": "439.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "45271",
"name": "Chaussure de VTT Trek Cambion",
"price": "299.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45272",
"name": "Chaussure de VTT Trek Foray",
"price": "189.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "25343",
"name": "Chaussures de VTT Bontrager XXX",
"price": "322.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34130",
"name": "Chaussure de VTT Bontrager Foray",
"price": "152.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "34129",
"name": "Chaussure de VTT Bontrager Evoke",
"price": "135.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_orangevisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "34790",
"name": "Chaussure de VTT Bontrager Flatline",
"price": "129.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_black",
"list": "More Options",
"position": 7
}
,
{
"id": "34789",
"name": "Chaussure VTT Bontrager Quantum",
"price": "109.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "31577",
"name": "Chaussure vélo gravel Bontrager GR2",
"price": "95.0",
"brand": "Bontrager",
"category": "Cyclocross & gravel bike shoes",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}