if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "49977",
"name": "Trek Powerfly+ Fender Set",
"price": "49.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "32746",
"name": "Trek Solstice Cycling Short",
"price": "49.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "27461",
"name": "Trek Domane+ Headset Cover",
"price": "49.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "49.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "46751",
"name": "Trek Verve+ LT Chainguard",
"price": "47.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "10058",
"name": "Trek 20˝ Kids' Crankset",
"price": "41.99",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "41738",
"name": "Trek Windshell Cycling Balaclava",
"price": "39.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "48287",
"name": "Trek Gravel IsoSpeed Hardware",
"price": "39.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "47080",
"name": "Trek Integrated City Handlebar",
"price": "35.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "34.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "41737",
"name": "Trek Windshell Cycling Cap",
"price": "34.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "10885",
"name": "Trek Pavement Suspension Seatpost",
"price": "31.99",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "32538",
"name": "Trek Precaliber Fender Set",
"price": "31.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "10057",
"name": "Trek 16˝ Kids' Crankset",
"price": "31.99",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "27462",
"name": "Trek Domane+ IsoSpeed Cover",
"price": "29.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "41238",
"name": "Trek Cotton Cycling Cap",
"price": "29.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "32586",
"name": "Trek All-District Sweatshirt",
"price": "29.99",
"brand": "Trek",
"category": "Casual cycling wear",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "47225",
"name": "Trek BITS Tool Bag",
"price": "29.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "25473",
"name": "Trek Powerfly Fender Bracket",
"price": "29.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "44778",
"name": "Trek Kids Handlebar Bag",
"price": "29.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "pinkdark",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "36295",
"name": "Trek Original Crewneck Sweatshirt",
"price": "29.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "25468",
"name": "Trek Powerfly+ Fender Bracket",
"price": "29.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "21468",
"name": "Trek 3S 1x Chainkeeper",
"price": "26.99",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "44928",
"name": "Trek Bosch Gen3 Chainguard",
"price": "26.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}