if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41684",
"name": "Slash 9.8 GX AXS T-Type Gen 6",
"price": "7299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}