if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "14775",
"name": "Rowerowy ochraniacz na buty Bontrager S1 Softshell",
"price": "199.0",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25032",
"name": "Termiczne ocieplacze rowerowe na nogi Bontrager",
"price": "159.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25030",
"name": "Termiczne ocieplacze rowerowe na kolana Bontrager",
"price": "119.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14772",
"name": "Termiczny rowerowy ocieplacz na nogi Bontrager Halo",
"price": "105.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}