if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37370",
"name": "Bidon Trek Voda Flow 621 ml",
"price": "14.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14405",
"name": "Bontrager Pro Ride Wallet Plus",
"price": "12.99",
"brand": "Bontrager",
"category": "Phone & tablet accessories",
"variant": "white_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37375",
"name": "Bidon Trek Voda 621 ml",
"price": "8.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27290",
"name": "Produit anti-crevaison Bontrager TLR",
"price": "6.49",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}