if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "48622",
"name": "Powerfly+ 8 Gen 5",
"price": "61599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_bronze",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48621",
"name": "Powerfly+ 6 Gen 5",
"price": "49299.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "44399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48619",
"name": "Powerfly+ 4 Gen 5",
"price": "40699.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_greenvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41036",
"name": "Powerfly 4 625W Gen 4",
"price": "49699.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greenlight_greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37044",
"name": "Powerfly 5 Gen 4",
"price": "48099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37045",
"name": "Powerfly 7 Gen 4",
"price": "42999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35403",
"name": "Powerfly 7 Gen 3",
"price": "55599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37042",
"name": "Powerfly 4 625 Gen 3",
"price": "33999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "pinklight_greydark",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}