if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "12787",
"name": "Étrier de frein Electra Townie Lee-Chi HV-126",
"price": "41.99",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36181",
"name": "Entretoise de disque de frein Electra",
"price": "6.99",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28507",
"name": "Electra Coaster Brake Arm Clamps",
"price": "4.99",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}