if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech T-Shirt",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45017",
"name": "100% Trek Factory Racing Airmatic Langarmshirt",
"price": "64.99",
"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": "89.99",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}