Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "40812",
"name": "Verve 3 Lowstep 5e gén.",
"price": "1169.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "40810",
"name": "Verve 2 Lowstep 5e gén.",
"price": "1039.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "yellow",
"list": "More Options",
"position": 2
}
,
{
"id": "32733",
"name": "Verve 3 disque 4e gén.",
"price": "949.97",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "More Options",
"position": 3
}
,
{
"id": "32735",
"name": "Verve 2 disque 4e gén.",
"price": "849.97",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep 4e gén.",
"price": "829.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "36454",
"name": "Verve 2 Lowstep 4e gén.",
"price": "779.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "green",
"list": "More Options",
"position": 6
}
,
{
"id": "32734",
"name": "Verve 2 Lowstep disque 4e gén.",
"price": "699.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "32737",
"name": "Verve 1 Disque",
"price": "679.97",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "orange",
"list": "More Options",
"position": 8
}
,
{
"id": "32736",
"name": "Verve 1 Disque Lowstep",
"price": "529.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}