if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "40626",
"name": "Fuel EX C ramset",
"price": "41099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22049",
"name": "Session C 27,5 ramset",
"price": "37599.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24999",
"name": "Farley EX ramset",
"price": "34999.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30181",
"name": "Procaliber SL ramset Gen 1",
"price": "30599.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35073",
"name": "Domane SL Disc ramset, Gen 3",
"price": "28599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "17407",
"name": "Domane SLR ramset",
"price": "26999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}