if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "34653",
"name": "Trek Solstice Radtrikot",
"price": "35.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech T-Shirt",
"price": "28.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37365",
"name": "Trek Circuit Thermal Langarmtrikot",
"price": "89.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34651",
"name": "Trek Circuit Radtrikot",
"price": "65.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34650",
"name": "Trek Circuit LTD Radtrikot",
"price": "65.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36068",
"name": "Trek Circuit LTD Langarmtrikot",
"price": "63.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "reddark_bluedark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}