if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "48799",
"name": "Spodenki rowerowe z szelkami Rapha Core Cargo",
"price": "649.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13446",
"name": "Dopasowane termiczne spodenki kolarskie z szelkami Bontrager Velocis inForm",
"price": "384.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}