if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "46160",
"name": "Pneu de course sur route Pirelli P ZERO Race TLR Road",
"price": "126.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "63829",
"name": "Rapha Merino Cycling Gloves",
"price": "110.0",
"brand": "Rapha",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33468",
"name": "Câble antivol à clé Kryptonite KryptoFlex 1230",
"price": "54.99",
"brand": "Kryptonite",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33583",
"name": "Câble antivol à combinaison Kryptonite KryptoFlex 1018",
"price": "38.99",
"brand": "Kryptonite",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24837",
"name": "Quad Lock Bike Mount",
"price": "34.99",
"brand": "Quad Lock",
"category": "Phone & tablet accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}