if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "30885",
"name": "Electra Switch Lever Rear Thru Axle",
"price": "55.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22093",
"name": "RockShox Maxle Stealth Skewer",
"price": "54.99",
"brand": "RockShox",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "02574",
"name": "Delta Anti-Theft Axlerodz Bolt-On Hub Skewers",
"price": "24.99",
"brand": "Delta",
"category": "Bike wheels",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36439",
"name": "Trek-Diamant Thru-Skew Fixed Retention Nut",
"price": "13.99",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}