Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41354",
"name": "Émonda SL 7",
"price": "4989.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "41352",
"name": "Émonda SL 6",
"price": "4079.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "41366",
"name": "Émonda SL 5",
"price": "2719.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "32688",
"name": "Kit cadre Émonda SL Disc",
"price": "2099.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "More Options",
"position": 4
}
,
{
"id": "30189",
"name": "Ensemble cadre-fourche Émonda SL",
"price": "1799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "More Options",
"position": 5
}
,
{
"id": "35046",
"name": "Émonda SL 7",
"price": "4939.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "More Options",
"position": 6
}
,
{
"id": "36977",
"name": "Émonda SL 6 Pro Di2",
"price": "3599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32561",
"name": "Émonda SL 6 Disc",
"price": "3419.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "More Options",
"position": 8
}
,
{
"id": "32560",
"name": "Émonda SL 5 Disque",
"price": "2699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_greydark",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}