if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "27590",
"name": "Pneu route Bontrager R3 Hard-Case Lite",
"price": "84.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "11024",
"name": "Pneu route Bontrager AW1 Hard-Case",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27392",
"name": "Pneu route Bontrager R2 Hard-Case Lite",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "08646",
"name": "Pneu route Bontrager R1",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "10959",
"name": "Pneu route Bontrager AW1 Hard-Case Lite",
"price": "33.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}