if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "79834",
"name": "Precaliber 20" 7-Speed",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "63899",
"name": "Trek Solstice Mips Youth Bike Helmet",
"price": "74.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "63897",
"name": "Trek Solstice Mips Children's Bike Helmet",
"price": "74.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "56360",
"name": "Wahoo 24 Path",
"price": "599.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40264",
"name": "Trek Little Dipper Mips Bike Helmet",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "79627",
"name": "Precaliber 12"",
"price": "279.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47140",
"name": "Trek Elite Recycled Water Bottle Cage",
"price": "19.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30977",
"name": "Trek Kids' Platform Small Pedal Set",
"price": "14.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37375",
"name": "Trek Voda 21oz Water Bottle",
"price": "6.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "blue_white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37382",
"name": "Trek Voda 15oz Water Bottle",
"price": "6.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "blue_orange",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40314",
"name": "CamelBak Kids Mini M.U.L.E.® 50oz Hydration Pack",
"price": "66.0",
"brand": "CamelBak",
"category": "Bike bags",
"variant": "pink",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "22095",
"name": "Nantucket Surfside Child Basket",
"price": "27.0",
"brand": "Nantucket Bike Basket Co.",
"category": "Bike baskets",
"variant": "pink",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "44445",
"name": "Trek Flare R Metro Rear Bike Light",
"price": "26.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "44446",
"name": "Trek Ion 50 R Front Bike Light",
"price": "21.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "21639",
"name": "Electra Frenchie Ringer Bike Bell",
"price": "15.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "tan",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "34483",
"name": "Electra Gnome Ringer Bike Bell",
"price": "15.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}