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