if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "37346",
"name": "Domane SLR 6 AXS Gen 4",
"price": "89499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37344",
"name": "Domane SLR 6 Gen 4",
"price": "83899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41348",
"name": "Domane SL 5 Gen 4",
"price": "38499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41395",
"name": "Domane AL 5 Gen 4",
"price": "28599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "22499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "14899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48021",
"name": "Domane SLR 9 AXS Gen 4",
"price": "147899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44314",
"name": "Domane SL Gen 4 rammesett",
"price": "59699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}