if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "37085",
"name": "Krótkie spodenki MTB damskie Trek Evoke",
"price": "399.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37091",
"name": "Krótkie spodenki wewnętrzne damskie Troslo",
"price": "159.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31913",
"name": "100% Airmatic Mountain Bike Short",
"price": "367.0",
"brand": "100%",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44139",
"name": "Damskie krótki spodenki rowerowe Santini Trek Factory Racing Team Replica",
"price": "383.0",
"brand": "Santini",
"category": "Mountain bike shorts & bib shorts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}