if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "45040",
"name": "Electra Ponto Go! 20˝ Suspension Fork",
"price": "169.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37799",
"name": "SR Suntour 2021 NEX Threaded Disc 700c Suspension Fork",
"price": "139.99",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37800",
"name": "SR Suntour 2021 NEX Unthreaded Disc 700c Suspension Fork",
"price": "139.99",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40559",
"name": "Rockshox Pike Select+ 140mm Air Spring Cartridge",
"price": "25.93",
"brand": "RockShox",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33539",
"name": "Trek 2020 Allant+/Diamant Zouma+ Suspension Fork Crown Washer",
"price": "5.5",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}