if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "34270",
"name": "Feedback Sports Repair Stand Tool Tray",
"price": "49.99",
"brand": "Feedback Sports",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27440",
"name": "Feedback Sports Velo Hinge 1-Bike Storage Hook",
"price": "42.99",
"brand": "Feedback Sports",
"category": "Bike storage",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44683",
"name": "Feedback Sports Velo Hinge Long Hook",
"price": "14.99",
"brand": "Feedback Sports",
"category": "Bike storage",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}