if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36024",
"name": "Casque cycliste Trek Solstice Mips",
"price": "69.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34588",
"name": "Casque de vélo de route Trek Velocis Mips",
"price": "339.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37123",
"name": "Casque de route Trek Ballista Mips",
"price": "399.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21848",
"name": "Casque Bontrager Quantum Mips",
"price": "114.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30466",
"name": "Casque Bontrager Solstice Mips",
"price": "47.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14897",
"name": "Casque pour vélo de route Bontrager Velocis Mips",
"price": "194.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}