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