if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37365",
"name": "Trek Circuit Thermal Long Sleeve Cycling Jersey",
"price": "134.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "36068",
"name": "Trek Circuit LTD Long Sleeve Cycling Jersey",
"price": "119.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "36060",
"name": "Trek Circuit Women's Thermal Unpadded Cycling Tight",
"price": "99.99",
"brand": "Trek",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "54.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37367",
"name": "Trek Circuit Women's Thermal Long Sleeve Cycling Jersey",
"price": "134.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "119.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "37098",
"name": "Trek Circuit Full Finger Twin Gel Unisex Cycling Glove",
"price": "59.99",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}