if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "32746",
"name": "Trek Solstice Cycling Short",
"price": "64.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "64.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "34659",
"name": "Trek Solstice Cycling Bib Short",
"price": "79.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36024",
"name": "Trek Solstice Mips Bike Helmet",
"price": "69.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "34654",
"name": "Trek Solstice Women's Cycling Jersey",
"price": "64.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "32747",
"name": "Trek Solstice Women's Cycling Short",
"price": "64.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "32748",
"name": "Trek Solstice Youth Cycling Short",
"price": "39.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "37364",
"name": "Trek Solstice Youth Cycling Jersey",
"price": "39.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "44094",
"name": "Trek Solstice Bike Helmet Visor",
"price": "12.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "36035",
"name": "Trek Solstice Mips Youth Bike Helmet",
"price": "94.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "34609",
"name": "Trek Solstice Mips Children's Bike Helmet",
"price": "94.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "34655",
"name": "Trek Solstice Women's Cycling Bib Short",
"price": "79.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "37099",
"name": "Trek Solstice Gel Unisex Cycling Glove",
"price": "39.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "44095",
"name": "Trek Solstice Bike Helmet Fit Pad",
"price": "12.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "44098",
"name": "Trek Solstice Youth Bike Helmet Visor",
"price": "12.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "44099",
"name": "Trek Solstice Children's Bike Helmet Visor",
"price": "12.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}