if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "33661",
"name": "Electra Tiki Time Linear Bike Bell",
"price": "11.93",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25575",
"name": "Electra Soft Serve Girls' Fender Set",
"price": "7.93",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33774",
"name": "Electra Leopard Saddle Bag",
"price": "4.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40652",
"name": "Electra Coral Reef Socks",
"price": "6.93",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "tan_pinklight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35912",
"name": "Electra 101 Small Ding Dong Bike Bell",
"price": "4.93",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}