if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "90398",
"name": "Trek 1976 Hoodie",
"price": "79.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47148",
"name": "Trek Adventure Triangle Bag",
"price": "114.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "93179",
"name": "PEARL iZUMi Men's Quest Thermal Cycling Jersey",
"price": "124.99",
"brand": "PEARL iZUMi",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "93180",
"name": "PEARL iZUMi Women's Quest Thermal Cycling Jersey",
"price": "124.99",
"brand": "PEARL iZUMi",
"category": "Road bike jerseys",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "69247",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "129.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44800",
"name": "Trek Ion 100 R/Flare R City Bike Light Set",
"price": "104.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "63403",
"name": "Trek Dual Charger Floor Pump",
"price": "104.99",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "92322",
"name": "Trek 50th Anniversary Book",
"price": "69.99",
"brand": "Trek",
"category": "P.O.P.",
"variant": "black_gold",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "56069",
"name": "Tifosi Moab Fototec Sunglasses",
"price": "129.95",
"brand": "Tifosi Optics",
"category": "Cycling glasses",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "91128",
"name": "Tifosi Moab Lite Fototec Sunglasses",
"price": "129.95",
"brand": "Tifosi Optics",
"category": "Cycling glasses",
"variant": "brown_bronze",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "82800",
"name": "Fox Racing x Trek Ranger Women's Long Sleeve Jersey",
"price": "99.95",
"brand": "Fox Racing",
"category": "Mountain bike jerseys",
"variant": "tan",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "82642",
"name": "Fox Racing x Trek Ranger Long Sleeve Mountain Bike Jersey",
"price": "99.95",
"brand": "Fox Racing",
"category": "Mountain bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "80084",
"name": "PEARL iZUMi Quest Cycling Jersey",
"price": "84.99",
"brand": "PEARL iZUMi",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47358",
"name": "Trek Adventure Top Tube Bag",
"price": "69.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "34035",
"name": "Trek Commuter Comp R Front Bike Light",
"price": "69.97",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "80085",
"name": "PEARL iZUMi Quest Women's Cycling Jersey",
"price": "84.99",
"brand": "PEARL iZUMi",
"category": "Road bike jerseys",
"variant": "green",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "23498",
"name": "Delta Omni Holder Phone Holder",
"price": "60.99",
"brand": "Delta",
"category": "Phone & tablet accessories",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}