if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "23365", "name": "Bontrager Elite Shift Cable & Housing Set", "price": "45.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "24736", "name": "Bontrager Elite Brake Cable & Housing Set", "price": "45.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "23366", "name": "Bontrager Comp Shift Cable & Housing Set", "price": "31.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "white", "list": "CATEGORY", "position": 3 } , { "id": "24737", "name": "Bontrager Comp Brake Cable & Housing Set", "price": "31.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "white", "list": "CATEGORY", "position": 4 } , { "id": "23370", "name": "Bontrager Elite Shift Cable", "price": "28.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 5 } , { "id": "24742", "name": "Bontrager Elite MTB Brake Cable", "price": "28.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 6 } , { "id": "24743", "name": "Bontrager Elite Road Brake Cable", "price": "28.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 7 } , { "id": "23277", "name": "Bontrager Pro Shift Cable & Housing Set", "price": "69.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "24735", "name": "Bontrager Pro Brake Cable & Housing Set", "price": "64.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "37883", "name": "Trek 2023 Fetch+ 4 Cargo Box Steering Cable Set", "price": "79.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 10 } , { "id": "24734", "name": "Bontrager XXX Brake Cable & Housing Set", "price": "109.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "23364", "name": "Bontrager XXX Shift Cable & Housing Set", "price": "109.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "24741", "name": "Bontrager Pro Road Brake Cable", "price": "39.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 13 } , { "id": "23369", "name": "Bontrager Pro Shift Cable", "price": "39.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 14 } , { "id": "23371", "name": "Bontrager Comp Shift Cable", "price": "9.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 15 } , { "id": "24745", "name": "Bontrager Comp MTB Brake Cable", "price": "8.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 16 } , { "id": "24744", "name": "Bontrager Comp Road Brake Cable", "price": "8.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 17 } , { "id": "23363", "name": "Bontrager Shift Cable & Housing Set", "price": "6.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "24733", "name": "Bontrager Brake Cable & Housing Set", "price": "6.5", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "45046", "name": "Park Tool IR-1.3 Internal Cable Routing Kit", "price": "113.99", "brand": "Park Tool", "category": "Bike tools & maintenance", "variant": "blue", "list": "CATEGORY", "position": 20 } ] } }); } else { console.log("dataLayer"); }