if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech T-Shirt",
"price": "28.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45017",
"name": "100% Trek Factory Racing Airmatic Langarmshirt",
"price": "69.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "56815",
"name": "Santini Trek Factory Racing Men's Team Replica Cycling Jersey",
"price": "99.0",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22790",
"name": "Bontrager Quantum Fitness Bike Tech T-Shirt",
"price": "14.0",
"brand": "Bontrager",
"category": "Fitness & commuter apparel",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}