if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "44204",
"name": "Trek 2023 Verve+/District+, Diamant Beryll/Mandara Lock Grommet",
"price": "13.9",
"brand": "Trek-Diamant",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34584",
"name": "Trek Allant+/Diamant Zouma Supreme+ Range Extender Lock Hole Plug",
"price": "13.9",
"brand": "Trek-Diamant",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}