if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "44895",
"name": "Slnečné okuliare 100% Trek Team Edition Speedcraft SL HiPER Lens",
"price": "159.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44891",
"name": "Slnečné okuliare 100% Trek Team Edition Speedcraft HiPER Lens",
"price": "159.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44894",
"name": "Slnečné okuliare 100% Trek Team Edition Hypercraft HiPER Lens",
"price": "159.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44893",
"name": "Slnečné okuliare 100% Trek Team Edition S2 HiPER Lens",
"price": "159.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44892",
"name": "Slnečné okuliare 100% Trek Team Edition S3 HiPER Lens",
"price": "159.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}