Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48618",
"name": "Powerfly FS+ 8 4e gén.",
"price": "7059.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "More Options",
"position": 1
}
,
{
"id": "48617",
"name": "Powerfly FS+ 6 4e gén.",
"price": "5759.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "48616",
"name": "Powerfly FS+ 4 Equipped 4e gén.",
"price": "4859.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "More Options",
"position": 3
}
,
{
"id": "48614",
"name": "Powerfly FS+ 4 4e gén.",
"price": "4559.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "37006",
"name": "Powerfly FS 7 Gen 3.",
"price": "4549.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "More Options",
"position": 5
}
,
{
"id": "40673",
"name": "Powerfly FS 4 Gen 3.",
"price": "4049.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "More Options",
"position": 6
}
,
{
"id": "32760",
"name": "Powerfly FS 7 2e gén.",
"price": "4574.25",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36997",
"name": "Powerfly FS4 3e gén.",
"price": "4559.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}