if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "13849.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32692",
"name": "Checkpoint ALR Frameset",
"price": "11999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34200",
"name": "520 Disc Frameset",
"price": "7499.0",
"brand": "Trek",
"category": "520",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}