if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "30187",
"name": "Rahmenset Stache C",
"price": "2049.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_greenvisibility",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}