if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "45594",
"name": "MRP MXg Bash Guard & Chain Guide for Trek 2024 Slash",
"price": "204.99",
"brand": "Trek",
"category": "Bike chain guides",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41311",
"name": "Trek Fetch+ 2 Chain Guide Assembly",
"price": "12.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45290",
"name": "Trek Wahoo Chainkeeper",
"price": "4.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41312",
"name": "e*thirteen Vario I05 Trail Chainguide",
"price": "67.99",
"brand": "EThirteen",
"category": "Bike chain guides",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21905",
"name": "Trek Powerfly F/S Chainguide",
"price": "6.5",
"brand": "Ride+",
"category": "Bike chain guides",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}