if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "35303",
"name": "Domane SL 6, Gen 3",
"price": "35324.25",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "35299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37304",
"name": "Domane RSL ramset Gen 4",
"price": "62299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 ramset",
"price": "56999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 ramset",
"price": "55199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29529",
"name": "Madone SL ramset",
"price": "48999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33101",
"name": "Domane SLR Disc ramset Gen 3",
"price": "43999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35073",
"name": "Domane SL Disc ramset, Gen 3",
"price": "28599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "28712",
"name": "Domane SL Disc ramset Gen 3",
"price": "27999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "17407",
"name": "Domane SLR ramset",
"price": "26999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}