if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "32806",
"name": "Santini Trek-Segafredo Team Lifestyle Hoodie",
"price": "189.99",
"brand": "Santini",
"category": "Trek-Segafredo team apparel",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22162",
"name": "Bontrager Evoke Mountain Bike Hoodie",
"price": "109.99",
"brand": "Bontrager",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40610",
"name": "Electra Ride Free Sweatshirt",
"price": "54.99",
"brand": "Electra",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45021",
"name": "100% Trek Factory Racing 5 Panel Hat",
"price": "35.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45020",
"name": "100% Trek Factory Racing Trucker Hat",
"price": "31.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45022",
"name": "100% Trek Factory Racing Pom Beanie",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}