if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36732",
"name": "Slash 9.8 XT Gen 5",
"price": "3999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36347",
"name": "Fuel EX 7 Gen 6",
"price": "2999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35193",
"name": "Fuel EX 9.8 GX AXS Gen 5",
"price": "4799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35672",
"name": "Rail 9.8 XT Gen 3",
"price": "4399.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32759",
"name": "Powerfly FS 4 Gen 2",
"price": "3299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36953",
"name": "Fuel EX 9.8 GX AXS Gen 6",
"price": "4499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36792",
"name": "Rail 7 Gen 3",
"price": "4499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41652",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "11999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "9999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36744",
"name": "Domane+ SLR 9 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36373",
"name": "Fuel EXe 9.9 XX1 AXS",
"price": "9999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41571",
"name": "Fuel EXe 9.8",
"price": "8999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "8999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41656",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "7999.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "7499.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37060",
"name": "Slash 9.9 XX1 Flight Attendant Gen 5",
"price": "7499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37114",
"name": "Fetch+ 4",
"price": "6999.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36367",
"name": "Fuel EXe 9.8 GX AXS",
"price": "6999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35678",
"name": "Rail 9.9 XX1 AXS Gen 3",
"price": "6999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36956",
"name": "Fuel EX 9.9 XX1 AXS Gen 6",
"price": "6999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "41572",
"name": "Fuel EX 9.8 GX AXS T-Type Gen 6",
"price": "6499.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "36375",
"name": "Fuel EXe 9.8",
"price": "6499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35218",
"name": "Slash 9.9 XX1 AXS Gen 5",
"price": "6299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "36413",
"name": "Slash 9.9 XX1 AXS Flight Attendant Gen 5",
"price": "6299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}