if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41738",
"name": "Trek Windshell Fahrradbalaklava",
"price": "24.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41739",
"name": "Trek Thermal Neck Gaiter",
"price": "19.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41737",
"name": "Trek Windshell Fahrradmütze",
"price": "19.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41736",
"name": "Trek Windshell Fahrradhelmmütze",
"price": "17.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41735",
"name": "Trek Thermal Fahrradstirnband",
"price": "14.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}