if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "35906",
"name": "Kask lifestylowy Electra Tutti Frutti",
"price": "149.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35895",
"name": "Electra Tutti Frutti Handlebar Bag",
"price": "57.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35928",
"name": "Dzwonek rowerowy klasyczny Electra Tutti Frutti",
"price": "34.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}