if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "48616",
"name": "Powerfly FS+ 4 Equipped Gen 4",
"price": "59199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "44399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40672",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "59999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41704",
"name": "Powerfly Sport 5 Equipped Gen 4",
"price": "52899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37008",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "67099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35271",
"name": "Powerfly FS 9 Equipped Gen 2",
"price": "64879.2",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35445",
"name": "Powerfly 7 Equipped Gen 3",
"price": "58099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37046",
"name": "Powerfly Sport 7 Equipped Gen 4",
"price": "55899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37007",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "55899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37047",
"name": "Powerfly Sport 4 Equipped Gen 4",
"price": "41399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}