if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "58146",
"name": "Cruiser 7D Step-Over",
"price": "619.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "58144",
"name": "Cruiser 1 Step-Over",
"price": "509.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "32326",
"name": "Electra Townie Path Go! Jeu de garde-boue en aluminium",
"price": "109.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "59944",
"name": "Townie 7D EQ Step-Over",
"price": "889.99",
"brand": "Electra",
"category": "Townie",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "49066",
"name": "Trek FX+ 7 Front Fender Stay Mounting Covers",
"price": "12.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "42044",
"name": "Trek 2023 Madone Gen 7 Barstem Top Covers",
"price": "7.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "23735",
"name": "Electra Delivery 3i Step-Over Fender",
"price": "39.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "44110",
"name": "Electra Townie Go! 8i Step-Over 26˝ Rigid Fork",
"price": "114.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}