if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "22373",
"name": "Bontrager Comp Multi-Tool",
"price": "19.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45050",
"name": "100% Airmatic Mountain Bike Pants",
"price": "109.0",
"brand": "100%",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "38225",
"name": "Pirelli Scorpion XC M MTB-Reifen",
"price": "79.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "38229",
"name": "Pirelli Scorpion XC H MTB-Reifen",
"price": "79.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45018",
"name": "100% Trek Factory Racing T-Shirt",
"price": "45.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45021",
"name": "100% Trek Factory Racing 5-Panel Cap",
"price": "39.0",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45022",
"name": "100% Trek Factory Racing Pom Beanie",
"price": "35.0",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31923",
"name": "100% Ridecamp Mountainbike-Handschuh",
"price": "29.0",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}