if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "32747",
"name": "Trek Solstice Women's Cycling Short",
"price": "64.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "64.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37083",
"name": "Trek Evoke Women's Mountain Bike Tech Tee",
"price": "59.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech Tee",
"price": "59.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37781",
"name": "Bontrager XT3 Comp MTB Tire",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "44.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37086",
"name": "Trek Evoke Youth Mountain Bike Tech Tee",
"price": "44.99",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32748",
"name": "Trek Solstice Youth Cycling Short",
"price": "39.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37364",
"name": "Trek Solstice Youth Cycling Jersey",
"price": "39.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41982",
"name": "Trek Fraser Fir Beanie",
"price": "24.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "44780",
"name": "Trek Voda 34oz Water Bottle",
"price": "19.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}