if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "34654",
"name": "Damska koszulka rowerowa Trek Solstice",
"price": "159.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34653",
"name": "Koszulka rowerowa Trek Solstice",
"price": "159.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37083",
"name": "Damski t-shirt techniczny MTB Trek Evoke",
"price": "159.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37082",
"name": "T-shirt techniczny MTB Trek Evoke",
"price": "159.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14964",
"name": "Koszulka rowerowa Bontrager Solstice",
"price": "56.0",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}