Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41742",
"name": "Cyklistický vodeodolný návlek na tretry Trek",
"price": "49.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41740",
"name": "Cyklistický návlek na tretry Trek Windshell",
"price": "19.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "48909",
"name": "Zimné cyklistické návleky na tretry Rapha",
"price": "75.0",
"brand": "Rapha",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "48908",
"name": "Cyklistické návleky na tretry Rapha do vlhkého počasia",
"price": "63.0",
"brand": "Rapha",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25046",
"name": "Nepromokavé cyklistické návleky na tretry Bontrager",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14775",
"name": "Návleky na tretry Bontrager S1 Softshell",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}