if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "33044",
"name": "Madone SLR Gen 6 Frameset ",
"price": "39999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 stelkit",
"price": "37699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29529",
"name": "Madone SL stelkit",
"price": "33999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33101",
"name": "Domane SLR Disc stelkit Gen 3",
"price": "29999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "17407",
"name": "Domane SLR stelkit",
"price": "21499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35073",
"name": "Domane SL Disc Frameset Gen 3",
"price": "20799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28712",
"name": "Domane SL Disc stelkit Gen 3",
"price": "18999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}