if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "40191",
"name": "Electra Running Latte Forward Twister Bike Bell",
"price": "14.93",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35932",
"name": "Electra Peace Forward Twister Bike Bell",
"price": "6.93",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35933",
"name": "Electra Retro Stripe Forward Twister Bike Bell",
"price": "6.93",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_bronze",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}