if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "12723",
"name": "Electra Cruiser Integrated Kickstand Tool",
"price": "55.99",
"brand": "Electra",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "77293",
"name": "Electra Touch-Up Paint - Matte Color Collection",
"price": "19.99",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "77292",
"name": "Electra Touch-Up Paint - Gloss Colors Collection",
"price": "19.99",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41760",
"name": "Electra Loft 7D/7i Double Cable Guide",
"price": "4.99",
"brand": "Electra",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42283",
"name": "Electra Cable Routing Grommet",
"price": "3.99",
"brand": "Electra",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45458",
"name": "Electra Ponto Go! Battery Cable Guide",
"price": "3.99",
"brand": "Electra",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}