if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "27392",
"name": "Bontrager R2 Hard-Case Lite Road Tire",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31552",
"name": "Bontrager H2 Hard-Case Lite Reflective Hybrid Tyre",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32748",
"name": "Trek Solstice Youth Cycling Short",
"price": "39.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37364",
"name": "Trek Solstice Youth Cycling Jersey",
"price": "39.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30483",
"name": "Bontrager Solstice Bike Helmet",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31551",
"name": "Bontrager H2 Comp Hybrid Tire",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33120",
"name": "Bontrager XR Trail Elite MTB Grip Set",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36532",
"name": "Trek Race Reflective Crew Cycling Sock",
"price": "19.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36534",
"name": "Trek Race Crew Cycling Sock",
"price": "18.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36533",
"name": "Trek Race Quarter Cycling Sock",
"price": "15.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}