if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "44895",
"name": "Okulary przeciwsłoneczne z soczewkami HiPER 100% Trek Team Edition Speedcraft SL",
"price": "799.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44891",
"name": "Okulary przeciwsłoneczne z soczewkami HiPER 100% Trek Team Edition Speedcraft",
"price": "799.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44893",
"name": "Okulary przeciwsłoneczne z soczewkami HiPER 100% Trek Team Edition S2",
"price": "799.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44894",
"name": "Okulary przeciwsłoneczne z soczewkami HiPER 100% Trek Team Edition Hypercraft",
"price": "799.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44892",
"name": "Okulary przeciwsłoneczne z soczewkami HiPER 100% Trek Team Edition S3",
"price": "799.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31913",
"name": "100% Airmatic Mountain Bike Short",
"price": "367.0",
"brand": "100%",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31923",
"name": "Rękawiczki na rower górski 100% Ridecamp",
"price": "149.0",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}