if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "35041",
"name": "Trek RSL mountainbikesko",
"price": "2999.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25343",
"name": "Bontrager XXX MTB-sko",
"price": "2249.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45271",
"name": "Trek Cambion MTB-sko",
"price": "2199.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45272",
"name": "Trek Foray MTB-sko",
"price": "1399.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34130",
"name": "Bontrager Foray MTB-sko",
"price": "1124.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31577",
"name": "Bontrager GR2 cykelsko til gravel",
"price": "650.0",
"brand": "Bontrager",
"category": "Cyclocross & gravel bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33009",
"name": "Bontrager Comp tåpigge sæt",
"price": "95.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}