Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47877",
"name": "Session 9 X01",
"price": "8059.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "37056",
"name": "Session 8",
"price": "6059.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "6449.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "37959",
"name": "Kit cadre Session AL",
"price": "3699.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "More Options",
"position": 4
}
,
{
"id": "37057",
"name": "Session 9",
"price": "6449.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "30283",
"name": "Kit cadre Session C 29",
"price": "4599.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}