if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "44791",
"name": "Opona MTB Bontrager Galbraith RSL SE TLR",
"price": "329.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44588",
"name": "Opona MTB Bontrager Brevard RSL SE TLR",
"price": "329.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34494",
"name": "Opona MTB Bontrager SE6 Team Issue TLR",
"price": "349.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13586",
"name": "Opona górska Bontrager SE4 Team Issue TLR",
"price": "329.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34493",
"name": "Opona MTB Bontrager SE5 Team Issue TLR",
"price": "297.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38374",
"name": "Opona MTB Pirelli Scorpion Enduro M",
"price": "359.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "38364",
"name": "Opona MTB Pirelli Scorpion Enduro R",
"price": "359.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}