if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "23276",
"name": "Adapter Bontrager Insta-Mount",
"price": "13.9",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44796",
"name": "Stacja ładowania Trek CHRGtime",
"price": "499.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11323",
"name": "Cyfrowy czujnik wielofunkcyjny Bontrager Interchange Digital Combo",
"price": "181.3",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12319",
"name": "Cyfrowy czujnik Bontrager DuoTrap S",
"price": "181.3",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47334",
"name": "Etui wodoodporne Rapha",
"price": "169.0",
"brand": "Rapha",
"category": "Bike bags & panniers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33768",
"name": "Electra Reflective Charcoal Phone Bag",
"price": "146.3",
"brand": "Electra",
"category": "Phone & tablet accessories",
"variant": "reflective",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33771",
"name": "Electra Heather Charcoal Phone Bag",
"price": "132.3",
"brand": "Electra",
"category": "Phone & tablet accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}