if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35933",
"name": "Sonnette de vélo Electra Forward Twister Retro Stripe",
"price": "6.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_bronze",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45456",
"name": "Electra Ponto Go! Downtube Bumper",
"price": "6.49",
"brand": "Electra",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36011",
"name": "Cache de partie jeu de pédalier de fourche arrière monobloc Electra",
"price": "4.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36010",
"name": "Cache de partie arrière de fourche arrière monobloc Electra",
"price": "4.99",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33676",
"name": "Electra Vale Go! Speed Sensor Alignment Mount",
"price": "4.5",
"brand": "Bontrager-Electra",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37409",
"name": "Boulon de fourche arrière monobloc inviolable Electra",
"price": "3.99",
"brand": "Electra",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45063",
"name": "Electra Ponto Go! Rear Fender Cable Grommet",
"price": "3.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37410",
"name": "Boulon de fourche arrière monobloc TX20 Electra",
"price": "3.99",
"brand": "Electra",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}