if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "13376",
"name": "Bontrager CR2032 Computer Battery - 5 Pack",
"price": "44.9",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25400",
"name": "Bontrager 23AE Computer Battery",
"price": "39.9",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32727",
"name": "Bateria do komputera Bontrager CR1632",
"price": "17.4",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}