if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "41481",
"name": "Domane+ SLR 7 AXS",
"price": "77499.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49166",
"name": "Domane+ SLR 8 AXS",
"price": "84999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47218",
"name": "Domane+ AL 5",
"price": "26499.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36707",
"name": "Domane+ SLR 7",
"price": "72199.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36741",
"name": "Domane+ SLR 9",
"price": "100299.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36700",
"name": "Domane+ SLR 6 AXS",
"price": "72999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36703",
"name": "Domane+ SLR 6 Pro",
"price": "68199.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36141",
"name": "Domane+ AL 5",
"price": "26499.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}