if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47131",
"name": "Domane SL 6 Gen 4",
"price": "4699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "35032",
"name": "Rail 5 Gen 2",
"price": "3499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_teal",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "30484",
"name": "Fuel EX C Gen 5 Frameset",
"price": "3299.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "26947",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "3299.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41640",
"name": "Checkpoint ALR 5",
"price": "2499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "48021",
"name": "Domane SLR 9 AXS Gen 4",
"price": "12699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "11999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "9999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "41482",
"name": "Domane+ SLR 7 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "46688",
"name": "Madone SLR 7 AXS Gen 8",
"price": "9499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "8999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "36702",
"name": "Domane+ SLR 6 AXS",
"price": "8499.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "37060",
"name": "Slash 9.9 XX1 Flight Attendant Gen 5",
"price": "8499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "47246",
"name": "Slash SE Gen 5",
"price": "6499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "brown_bluedark",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "41394",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "5699.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "5499.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "36746",
"name": "Domane SL 6 Gen 4",
"price": "4699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "36152",
"name": "Domane SL 6 AXS Gen 4",
"price": "4499.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "46146",
"name": "Top Fuel 9.9 XX AXS Gen 4",
"price": "10499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "49165",
"name": "Domane+ SLR 8 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "49168",
"name": "Madone SLR 8 AXS Gen 8",
"price": "9499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS Gen 4",
"price": "8499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "36740",
"name": "Domane+ SLR 7 AXS",
"price": "7999.93",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "41550",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "7399.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}