if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "33189",
"name": "Bontrager Travel Backpack",
"price": "259.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33188",
"name": "Bontrager Commuter Backpack",
"price": "199.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47335",
"name": "Rapha Pro Team Lightweight Backpack",
"price": "170.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44537",
"name": "Fox Racing Transition Pack",
"price": "219.95",
"brand": "Fox Racing",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}