if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47263",
"name": "FX Sport 5",
"price": "2099.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "2099.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "13799.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "10999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "10199.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "47303",
"name": "Supercaliber SLR 9.8 X0 AXS T-Type Gen 2",
"price": "8499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "41647",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "5749.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "5299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "2799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "47279",
"name": "Slash 9.8 XT Gen 6",
"price": "6499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "5999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "41719",
"name": "Supercaliber SL 9.7 Gen 2",
"price": "5699.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "41668",
"name": "Slash 8 Gen 6",
"price": "4399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "2999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "40281",
"name": "TQ HPR Range Extender Battery",
"price": "549.99",
"brand": "TQ",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "44947",
"name": "Trek Enduro Front Fender",
"price": "14.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "8999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41684",
"name": "Slash 9.8 GX AXS T-Type Gen 6",
"price": "7999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "6299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "1699.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "10199.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "47094",
"name": "Slash+ 9.7 SLX/XT",
"price": "7999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "41669",
"name": "Slash 9 GX AXS T-Type Gen 6",
"price": "5799.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "46144",
"name": "Top Fuel 9 Gen 4",
"price": "4799.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}