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