Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "48297",
"name": "Kit cadre Émonda ALR Disque",
"price": "1399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 1
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "2299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 2
}
,
{
"id": "37299",
"name": "Kit cadre Émonda ALR Disque",
"price": "1649.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "23613",
"name": "Kit cadre Émonda ALR",
"price": "1499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "More Options",
"position": 4
}
,
{
"id": "24166",
"name": "Émonda ALR 5",
"price": "2259.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purple",
"list": "More Options",
"position": 5
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "2249.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluelight_pink",
"list": "More Options",
"position": 6
}
,
{
"id": "23644",
"name": "Kit cadre Émonda ALR Disque",
"price": "1499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}