if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "35084",
"name": "Madone SL Disc Gen 6 ramset",
"price": "55199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "29529",
"name": "Madone SL ramset",
"price": "48999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33101",
"name": "Domane SLR Disc ramset Gen 3",
"price": "43999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35073",
"name": "Domane SL Disc ramset, Gen 3",
"price": "28599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28712",
"name": "Domane SL Disc ramset Gen 3",
"price": "27999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23644",
"name": "Émonda ALR Disc ramset",
"price": "13749.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32692",
"name": "Checkpoint ALR-ramset",
"price": "11999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34200",
"name": "520 Disc-ramset",
"price": "7499.0",
"brand": "Trek",
"category": "520",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}