if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "35041",
"name": "MTB-sko Trek RSL",
"price": "4499.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45271",
"name": "MTB-sko Trek Cambion",
"price": "3299.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25343",
"name": "Bontrager XXX Mountain mountainbike-sko",
"price": "3224.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45272",
"name": "MTB-sko Trek Foray",
"price": "1999.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34130",
"name": "Bontrager Foray MTB-sko",
"price": "1439.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33009",
"name": "Bontrager Comp tådobbsats",
"price": "129.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}