if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "37056",
"name": "Session 8",
"price": "73899.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "79599.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37959",
"name": "Session AL Rammesett",
"price": "41399.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37057",
"name": "Session 9",
"price": "71599.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30283",
"name": "Session C 29 Frameset",
"price": "50399.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22049",
"name": "Session C 27,5 rammesett",
"price": "35799.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}