if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "13495",
"name": "Trek TAB-Riemenspanner",
"price": "59.99",
"brand": "Trek",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31962",
"name": "Gates Drive Belt",
"price": "139.99",
"brand": "Gates",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11008",
"name": "Gates Center Track Belts",
"price": "99.99",
"brand": "Gates",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13496",
"name": "Trek TAB-Riemen",
"price": "74.99",
"brand": "Trek",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}