if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "1850.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24465",
"name": "Torba na bagażnik Bontrager City",
"price": "450.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33172",
"name": "Torba na bagażnik MIK Commuter",
"price": "449.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33173",
"name": "Sakwa pojedyncza Bontrager Commuter",
"price": "439.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33594",
"name": "Sakwa podwójna Bontrager Town",
"price": "349.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22373",
"name": "Narzędzie wielofunkcyjne Bontrager Comp Multi-Tool",
"price": "69.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47140",
"name": "Koszyk na bidon Trek Elite z materiałów z recyklingu",
"price": "59.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}