if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "45017",
"name": "100% Trek Factory Racing Long Sleeve Airmatic",
"price": "64.99",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45018",
"name": "100% Trek Factory Racing Tech Tee",
"price": "39.99",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14964",
"name": "Bontrager Solstice Cycling Jersey",
"price": "12.0",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}