if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "35214",
"name": "Remedy 27,5 C ramset",
"price": "50499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38642",
"name": "Remedy AL ramset",
"price": "29399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35064",
"name": "Remedy 9.8",
"price": "51824.25",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35063",
"name": "Remedy 8",
"price": "20549.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33369",
"name": "Remedy 27,5-ramset i aluminium",
"price": "24099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}