if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37054",
"name": "Wahoo 24",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32779",
"name": "Rail 9.9",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33192",
"name": "Roscoe 6",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36919",
"name": "Allant+ 6 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35486",
"name": "Domane SLR 7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "pinkdark_yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35765",
"name": "E-Caliber 9.8 GX AXS Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36731",
"name": "Slash 8 Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37041",
"name": "Supercaliber 9.9 XX1 AXS Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36997",
"name": "Powerfly FS 4 Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37042",
"name": "Powerfly 4 625w Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37016",
"name": "Rail 9.8 GX AXS Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "28899",
"name": "FX 3 Equipped Stagger",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37057",
"name": "Session 9",
"price": "",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "32565",
"name": "Émonda SLR 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36962",
"name": "Dual Sport 3 Equipped Stagger Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "32732",
"name": "Verve 3 Disc Lowstep",
"price": "",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36454",
"name": "Verve 2 Lowstep",
"price": "",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "green",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37067",
"name": "Rail 9.9 XTR Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36931",
"name": "Allant+ 7",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "36953",
"name": "Fuel EX 9.8 GX AXS Gen 6",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37046",
"name": "Powerfly Sport 7 Equipped Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}