if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "36170",
"name": "Electra Vale Sandblasted Handlebar",
"price": "130.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36737",
"name": "Electra Townie Sandblasted Handlebar",
"price": "130.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37596",
"name": "Electra 16" Kids' Handlebar",
"price": "130.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37595",
"name": "Electra 20" Kids' Handlebar",
"price": "110.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13994",
"name": "Kierownica Electra Mini Ape Hanger Cruiser",
"price": "103.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34014",
"name": "Frędzle na kierownicę Electra",
"price": "24.5",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "pinkdark_reflective",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}