if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "37084",
"name": "Trek Evoke Mountainbike-Short",
"price": "87.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37090",
"name": "Trek Troslo Unterziehshort",
"price": "36.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "56816",
"name": "Santini Trek Factory Racing Men's Team Replica Bib Short",
"price": "129.99",
"brand": "Santini",
"category": "Mountain bike shorts & bib shorts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34847",
"name": "Santini Trek Factory Racing Men's XC Team Replica Trägershort",
"price": "42.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_bluelight",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}