if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "37039",
"name": "Supercaliber 9.8 Gen 1",
"price": "80599.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35151",
"name": "Supercaliber 9.6 Gen 1",
"price": "44099.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35869",
"name": "Supercaliber Gen 1 Frameset",
"price": "53699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}