if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "31980",
"name": "Herrmans MR8 Standard Bike Light Bracket",
"price": "6.99",
"brand": "HERRMANS",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "29079",
"name": "Supernova M99 to Bontrager Elite Light Faceplate Bolt",
"price": "5.99",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36428",
"name": "Spanninga Light Bracket for Suntour NEX/CR8",
"price": "4.49",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42250",
"name": "Electra PVC Light Wire Sleeve",
"price": "3.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}