Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"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": "23613",
"name": "Kit cadre Émonda ALR",
"price": "1249.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "More Options",
"position": 3
}
,
{
"id": "36957",
"name": "Émonda ALR 6",
"price": "2499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "1999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluelight_pink",
"list": "More Options",
"position": 5
}
,
{
"id": "23644",
"name": "Kit cadre Émonda ALR Disque",
"price": "1249.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}