if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "42273",
"name": "Top Fuel C Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44369",
"name": "Madone SL Disc Gen 7 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42271",
"name": "Slash AL Gen 6 Frameset",
"price": "2699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37079",
"name": "Verve+ 3",
"price": "3299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37080",
"name": "Verve+ 3 Lowstep",
"price": "3299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "13299.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37357",
"name": "Domane SLR 9 Gen 4",
"price": "12199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "9699.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41899",
"name": "Domane SLR 7 AXS Gen 4",
"price": "8999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37059",
"name": "Domane SLR 7 Gen 4",
"price": "8499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "599.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "899.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1599.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41854",
"name": "Rail 9.9 CXR Gen 4",
"price": "13299.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35715",
"name": "Émonda SLR 9",
"price": "12749.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "10999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "9999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33140",
"name": "Émonda SLR 9 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37420",
"name": "Madone SLR 9 AXS Gen 7",
"price": "9999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36744",
"name": "Domane+ SLR 9 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "8999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "8999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36701",
"name": "Domane+ SLR 6 Pro",
"price": "8499.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}