if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "32739",
"name": "Damskie krótkie spodenki kolarskie z szelkami Trek Velocis",
"price": "499.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32743",
"name": "Damskie spodenki rowerowe z szelkami Trek Circuit",
"price": "399.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32745",
"name": "Damskie krótkie spodenki rowerowe Trek Circuit",
"price": "299.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34655",
"name": "Damskie spodenki rowerowe z szelkami Trek Solstice",
"price": "299.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32747",
"name": "Damskie krótkie spodenki rowerowe Trek Solstice",
"price": "199.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}