Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47132",
"name": "Domane SL 7 4e gén.",
"price": "8599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47131",
"name": "Domane SL 6 4e gén.",
"price": "5999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "41348",
"name": "Domane SL 5 Gen 4",
"price": "4499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "37302",
"name": "Kit cadre Domane SL 4e gén.",
"price": "3199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "More Options",
"position": 4
}
,
{
"id": "36153",
"name": "Domane SL 7 4e gén.",
"price": "8599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "36152",
"name": "Domane SL 6 AXS 4e gén.",
"price": "4999.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "35073",
"name": "Kit cadre Domane SL Disque 3e gén.",
"price": "2919.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}