if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "44796",
"name": "Trek CHRGtime Ladestation",
"price": "99.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}