if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "37500",
"name": "Koszula męska Santini Trek-Segafredo Team Race Replica",
"price": "160.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40627",
"name": "Koszulka kolarska mistrzostw świata Santini Trek-Segafredo Replica",
"price": "160.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_yellow",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37503",
"name": "Damska wyścigowa koszulka rowerowa Santini Trek-Segafredo Replica",
"price": "160.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14962",
"name": "Koszulka rowerowa Bontrager Circuit",
"price": "60.0",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44138",
"name": "Damska koszulka rowerowa Santini Trek Factory Racing Team Replica",
"price": "429.0",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44136",
"name": "Męska koszulka rowerowa Santini Trek Factory Racing Team Replica",
"price": "429.0",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45017",
"name": "Koszulka Airmatic z długim rękawem w barwach Trek Factory Racing",
"price": "299.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45018",
"name": "Techniczna koszulka w barwach Trek Factory Racing",
"price": "199.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14964",
"name": "Koszulka rowerowa Bontrager Solstice",
"price": "56.0",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}