Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "40667",
"name": "Verve+ 3 Lowstep 3e gén.",
"price": "4349.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 1
}
,
{
"id": "41518",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "3649.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "40990",
"name": "Verve+ 1 Lowstep LT",
"price": "2899.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "37079",
"name": "Verve+ 3 2e gén.",
"price": "3799.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "30979",
"name": "Verve+ 3 2e gén.",
"price": "3499.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "30980",
"name": "Verve+ 3 Lowstep 2e gén.",
"price": "3499.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28299",
"name": "Verve+ 2 Gen 2",
"price": "2999.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}