if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "40511",
"name": "Dual Sport 2 Mid-step Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40905",
"name": "Dual Sport+ 2 LT",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40488",
"name": "Dual Sport+ 2 Mid-step LT",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40823",
"name": "Dual Sport 1 Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40487",
"name": "Dual Sport+ 2 LT",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40508",
"name": "Dual Sport 2 Equipped Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47243",
"name": "FX Sport 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "48616",
"name": "Powerfly FS+ 4 Equipped Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41661",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40502",
"name": "Dual Sport 3 Equipped Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40503",
"name": "Dual Sport 3 Equipped Mid-step Gen 5",
"price": "",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35853",
"name": "Dual Sport+ 2 Stagger",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "41704",
"name": "Powerfly Sport 5 Equipped Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "40672",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "33474",
"name": "520 Grando",
"price": "",
"brand": "Trek",
"category": "520",
"variant": "bluedark",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}