if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40511",
"name": "Dual Sport 2 Mid-step Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40482",
"name": "Allant+ 5",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40484",
"name": "Allant+ 5 Mid-step",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40667",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40816",
"name": "FX 2 Mid-step Gen 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41023",
"name": "Allant+ 6",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41021",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40518",
"name": "Verve+ 1 Lowstep LT",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40506",
"name": "FX 2 Equipped",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40905",
"name": "Dual Sport+ 2 LT",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41025",
"name": "Allant+ 6 Mid-step",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41029",
"name": "Allant+ 7 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40504",
"name": "FX 3 Equipped",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "40508",
"name": "Dual Sport 2 Equipped Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "40488",
"name": "Dual Sport+ 2 Mid-step LT",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "40505",
"name": "FX 3 Equipped Mid-step",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "40823",
"name": "Dual Sport 1 Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "41022",
"name": "Allant+ 7 Mid-step Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "40507",
"name": "FX 2 Equipped Mid-step",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}