if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41734",
"name": "Trek Thermal Fahrradbeinling",
"price": "39.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41733",
"name": "Trek Thermal Fahrradknieling",
"price": "34.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41731",
"name": "Trek Thermal Fahrradarmling",
"price": "29.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25032",
"name": "Bontrager Thermo Fahrradbeinling",
"price": "31.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25030",
"name": "Bontrager Thermal Fahrradknieling",
"price": "23.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14772",
"name": "Bontrager Halo Thermo-Fahrradbeinling",
"price": "22.5",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25028",
"name": "Bontrager Thermal Fahrradarmling",
"price": "15.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}