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": "31849",
"name": "Bontrager Wheel Bag",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14405",
"name": "Bontrager Pro Ride Wallet Plus",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "white_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23806",
"name": "Electra Reflective Backpack",
"price": "54.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "bluelight_reflective",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44537",
"name": "Fox Racing Transition Pack",
"price": "219.95",
"brand": "Fox Racing",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}