if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37090",
"name": "Trek Troslo Liner Short",
"price": "44.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34654",
"name": "Trek Solstice Women's Cycling Jersey",
"price": "44.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "44.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech Tee",
"price": "44.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37781",
"name": "Bontrager XT3 Comp MTB Tire",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "34.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37086",
"name": "Trek Evoke Youth Mountain Bike Tech Tee",
"price": "34.99",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32748",
"name": "Trek Solstice Youth Cycling Short",
"price": "29.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37364",
"name": "Trek Solstice Youth Cycling Jersey",
"price": "29.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41982",
"name": "Trek Fraser Fir Beanie",
"price": "19.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "44780",
"name": "Trek Voda 34oz Water Bottle",
"price": "14.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}