if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41607",
"name": "Domane AL 4 4e gén.",
"price": "2229.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41587",
"name": "Domane AL 2 4e gén.",
"price": "1499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41395",
"name": "Domane AL 5 Gen 4",
"price": "2629.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "1199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}