if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36329",
"name": "Knog Oi Classic Large Bicycle Bell",
"price": "26.0",
"brand": "Knog",
"category": "Bike bells & horns",
"variant": "gold",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36328",
"name": "Knog Oi Classic Small Bicycle Bell",
"price": "26.0",
"brand": "Knog",
"category": "Bike bells & horns",
"variant": "gold",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}