if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "81617",
"name": "Madone SLR 9 AXS Gen 8 - The First 50 ICON",
"price": "15999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "56081",
"name": "Fuel+ LX 9.9 X0 AXS Gen 2",
"price": "11699.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48461",
"name": "Rail+ 9.9 X0 AXS T-Type Gen 5",
"price": "9999.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48469",
"name": "Rail+ 9.7 Gen 5",
"price": "7999.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "81695",
"name": "Madone SL 7 Gen 8 - The First 50 Replica",
"price": "6599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "57378",
"name": "Marlin+ 8",
"price": "3999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47256",
"name": "FX Sport SL 6",
"price": "3499.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "64881",
"name": "Charter+ 5S Lowstep",
"price": "4499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "64072",
"name": "Charter+ 4S",
"price": "3999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "64073",
"name": "Charter+ 4S Lowstep",
"price": "3999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "47263",
"name": "FX Sport SL 5",
"price": "2299.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47243",
"name": "FX Sport SL 4",
"price": "1999.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "81361",
"name": "Verve 1 Lowstep",
"price": "699.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "79834",
"name": "Precaliber 20" 7-Speed",
"price": "419.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "81696",
"name": "Madone SLR 9 AXS Gen 8 - No. 76 ICON",
"price": "15999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_white",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "61644",
"name": "Top Fuel RSL Gen 4",
"price": "10499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "59872",
"name": "Roscoe 8 Gen 4",
"price": "2399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "81367",
"name": "Verve 1",
"price": "699.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "48297",
"name": "Émonda ALR Disc Frameset",
"price": "499.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}