if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "28073",
"name": "Townie 7D EQ Step-Thru",
"price": "699.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "28070",
"name": "Townie 7D EQ Step-Over",
"price": "699.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "28079",
"name": "Townie 7D Step-Over",
"price": "599.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "599.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41689",
"name": "Slash 9.9 XX AXS T-Type Gen 6",
"price": "11499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "47281",
"name": "Slash 9.9 XX AXS T-Type Gen 6",
"price": "11499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "47280",
"name": "Slash 9.9 X0 AXS T-Type Gen 6",
"price": "9399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "41681",
"name": "Slash 9.9 X0 AXS T-Type Gen 6",
"price": "9399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "49397",
"name": "Supercaliber SLR 9.9 XTR Gen 2",
"price": "8499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "3999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "47319",
"name": "Supercaliber SLR 9.9 XX AXS Gen 2",
"price": "11999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "41728",
"name": "Supercaliber SLR 9.9 X0 AXS Gen 2",
"price": "8999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS Gen 4",
"price": "6999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "49364",
"name": "Top Fuel 9.9 XTR Gen 4",
"price": "6999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT Gen 4",
"price": "6249.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "42198",
"name": "Trek Charge WaveCel Commuter Helmet",
"price": "159.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "48043",
"name": "Supercaliber SLR 9.9 Flight Attendant Gen 2",
"price": "14499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS Gen 6",
"price": "5999.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "22055",
"name": "Speed Concept Rim Frameset",
"price": "3629.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "33239",
"name": "Service",
"price": "1699.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "36979",
"name": "Madone SL 7 Gen 6",
"price": "5499.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "36348",
"name": "Fuel EX 8 Gen 6",
"price": "3499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "36347",
"name": "Fuel EX 7 Gen 6",
"price": "2999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "35649",
"name": "Top Fuel AL Gen 3 Frameset",
"price": "2399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}