Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48297",
"name": "Kit cadre Émonda ALR Disque",
"price": "1429.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 1
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "2329.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 2
}
,
{
"id": "37299",
"name": "Kit cadre Émonda ALR Disque",
"price": "1399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"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": "24166",
"name": "Émonda ALR 5",
"price": "2399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "More Options",
"position": 5
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "1999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluelight_pink",
"list": "More Options",
"position": 6
}
,
{
"id": "23644",
"name": "Kit cadre Émonda ALR Disque",
"price": "1249.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}