if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48618",
"name": "Powerfly FS+ 8 Gen 4",
"price": "6229.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48617",
"name": "Powerfly FS+ 6 Gen 4",
"price": "5079.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48622",
"name": "Powerfly+ 8 Gen 5",
"price": "4449.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_bronze",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48616",
"name": "Powerfly FS+ 4 Equipped Gen 4",
"price": "4269.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48614",
"name": "Powerfly FS+ 4 Gen 4",
"price": "4009.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48621",
"name": "Powerfly+ 6 Gen 5",
"price": "3559.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "3209.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "48619",
"name": "Powerfly+ 4 Gen 5",
"price": "2939.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_greenvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40672",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "4899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37006",
"name": "Powerfly FS 7 Gen 3",
"price": "4049.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37044",
"name": "Powerfly 5 Gen 4",
"price": "3829.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41704",
"name": "Powerfly Sport 5 Equipped Gen 4",
"price": "3799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40673",
"name": "Powerfly FS 4 Gen 3",
"price": "3599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41036",
"name": "Powerfly 4 625W Gen 4",
"price": "3559.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greenlight_greydark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37045",
"name": "Powerfly 7 Gen 4",
"price": "3399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37008",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "5339.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35271",
"name": "Powerfly FS 9 Equipped Gen 2",
"price": "5199.2",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "37046",
"name": "Powerfly Sport 7 Equipped Gen 4",
"price": "4449.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37007",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "4449.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35403",
"name": "Powerfly 7 Gen 3",
"price": "4004.1",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greydark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "37047",
"name": "Powerfly Sport 4 Equipped Gen 4",
"price": "3289.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "37042",
"name": "Powerfly 4 625w Gen 4",
"price": "2699.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "pinklight_greydark",
"list": "CATEGORY",
"position": 22
}
]
}
});
} else {
console.log("dataLayer");
}