if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "14245",
"name": "Owijka kierownicy Bontrager Grippytack",
"price": "85.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37297",
"name": "Owijka kierownicy Bontrager Supertack, zestaw",
"price": "85.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12523",
"name": "Owijka kierownicy Bontrager Supertack",
"price": "42.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35713",
"name": "Chwyty gumowe Electra Retro Stripe",
"price": "59.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35710",
"name": "Chwyty gumowe Electra Gnome",
"price": "59.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}