if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "599.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41613",
"name": "Marlin 4 Gen 2",
"price": "579.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "549.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36270",
"name": "Precaliber 20",
"price": "329.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "13799.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48021",
"name": "Domane SLR 9 AXS Gen 4",
"price": "12699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47246",
"name": "Slash SE Gen 5",
"price": "8999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "brown_bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44314",
"name": "Domane RSL Gen 4 Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44441",
"name": "Supercaliber SLR Gen 2 Frameset",
"price": "3999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "42272",
"name": "Slash C Gen 6 Frameset",
"price": "3899.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "42273",
"name": "Top Fuel C Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "44369",
"name": "Madone SL Disc Gen 7 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "42271",
"name": "Slash AL Gen 6 Frameset",
"price": "2699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37079",
"name": "Verve+ 3",
"price": "3299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37080",
"name": "Verve+ 3 Lowstep",
"price": "3299.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "13299.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37357",
"name": "Domane SLR 9 Gen 4",
"price": "12199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "9699.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "41899",
"name": "Domane SLR 7 AXS Gen 4",
"price": "8999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37059",
"name": "Domane SLR 7 Gen 4",
"price": "8499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "28073",
"name": "Townie 7D EQ Step-Thru",
"price": "699.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "599.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "899.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}