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": "33744",
"name": "Farley AL rammesett",
"price": "13649.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark_tealdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26914",
"name": "1120 Frameset",
"price": "10499.0",
"brand": "Trek",
"category": "1120",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28693",
"name": "Procaliber AL Frameset",
"price": "8699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34200",
"name": "520 Disc Frameset",
"price": "7499.0",
"brand": "Trek",
"category": "520",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28470",
"name": "X-Caliber Frameset",
"price": "5199.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35866",
"name": "Marlin-rammesett Gen 2",
"price": "3899.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}