if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "129.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45286",
"name": "Electra Ponto Go! Rear Light",
"price": "41.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25656",
"name": "Feu arrière de vélo électrique Electra Nr.9 XE",
"price": "39.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28142",
"name": "Feu arrière à dynamo 2 800 mm à fixation sur garde-boue Electra Pixeo XD",
"price": "33.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33562",
"name": "Feu arrière de sécurité Electra",
"price": "29.93",
"brand": "Electra",
"category": "Bike lights",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31092",
"name": "Feu arrière de vélo électrique Spanninga Presto EX Guard",
"price": "25.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}