Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35041",
"name": "Chaussures VTT Trek RSL",
"price": "399.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "25343",
"name": "Chaussures de VTT Bontrager XXX",
"price": "299.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45271",
"name": "Chaussure de VTT Trek Cambion",
"price": "279.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45272",
"name": "Chaussure de VTT Trek Foray",
"price": "169.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "34130",
"name": "Chaussure de VTT Bontrager Foray",
"price": "134.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "33009",
"name": "Jeu de crampons Bontrager Comp",
"price": "12.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}