if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech Tee",
"price": "29.93",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44445",
"name": "Trek Flare R Metro Rear Bike Light",
"price": "26.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37110",
"name": "Trek Evoke Youth Unisex Mountain Bike Glove",
"price": "26.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37086",
"name": "Trek Evoke Youth Mountain Bike Tech Tee",
"price": "25.93",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36780",
"name": "Bontrager Kids' Integrated Rear Mount Adjustable Kickstand",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37106",
"name": "Trek Evoke Unisex Mountain Bike Glove",
"price": "23.93",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44446",
"name": "Trek Ion 50 R Front Bike Light",
"price": "21.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41982",
"name": "Trek Fraser Fir Beanie",
"price": "19.93",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40457",
"name": "Trek Blendr Fendr",
"price": "15.99",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "44780",
"name": "Trek Voda 34oz Water Bottle",
"price": "15.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}