if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "64.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35815",
"name": "Trek RSL Cycling Jersey",
"price": "134.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech Tee",
"price": "39.93",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37365",
"name": "Trek Circuit Thermal Long Sleeve Cycling Jersey",
"price": "134.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36068",
"name": "Trek Circuit LTD Long Sleeve Cycling Jersey",
"price": "119.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34650",
"name": "Trek Circuit LTD Cycling Jersey",
"price": "64.93",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34651",
"name": "Trek Circuit Cycling Jersey",
"price": "104.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "27957",
"name": "Trek Calivetta Short Sleeve Cycling Jersey",
"price": "69.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black_bluelight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}