if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "34200",
"name": "Kit cadre 520 Disque",
"price": "819.0",
"brand": "Trek",
"category": "520",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}