if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "45271",
"name": "Trek Cambion Mountain Bike sko",
"price": "3299.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35041",
"name": "Trek RSL Mountain Bike Shoe",
"price": "4499.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45272",
"name": "Trek Foray Mountain Bike sko",
"price": "1999.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34130",
"name": "Bontrager Foray Mountain Bike Shoe",
"price": "1439.1",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25343",
"name": "Bontrager XXX Mountain Bike Shoe",
"price": "3224.25",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34790",
"name": "Bontrager Flatline Mountain Bike Shoe",
"price": "1499.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34129",
"name": "Bontrager Evoke Mountain Bike Shoe",
"price": "1399.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_orangevisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34789",
"name": "Bontrager Quantum Mountain Bike Shoe",
"price": "1099.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "24883",
"name": "Bontrager Rally terrengsykkelsko",
"price": "1699.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}