if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "41519",
"name": "Fuel EXe 9.7",
"price": "47899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41568",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "76899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41527",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "47899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36991",
"name": "Rail 7 Gen 3",
"price": "38399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37006",
"name": "Powerfly FS 7 Gen 3",
"price": "36499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36990",
"name": "Rail 5 625 W Gen 3",
"price": "35199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41704",
"name": "Powerfly Sport 5 Equipped Gen 4",
"price": "33999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40673",
"name": "Powerfly FS 4 Gen 3",
"price": "32399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37045",
"name": "Powerfly 7 Gen 4",
"price": "30799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37027",
"name": "Rail 9.8 XT Gen 4",
"price": "62549.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37015",
"name": "Rail 9.7 Gen 4",
"price": "43249.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41679",
"name": "Rail 9.5 Gen 4",
"price": "38449.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35271",
"name": "Powerfly FS 9 Equipped Gen 2",
"price": "46239.2",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37042",
"name": "Powerfly 4 625w Gen 4",
"price": "24399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "pinklight_greydark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36366",
"name": "Fuel EXe 9.8 GX AXS",
"price": "55799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36359",
"name": "Fuel EXe 9.8",
"price": "52099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36360",
"name": "Fuel EXe 9.7",
"price": "47899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35038",
"name": "Rail 9.7 Gen 2",
"price": "47849.25",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36361",
"name": "Fuel EXe 9.5",
"price": "36999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}