Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34652",
"name": "Dámsky cyklistický nátelník Trek Circuit LTD",
"price": "41.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "More Options",
"position": 1
}
,
{
"id": "47296",
"name": "Základný dámsky cyklistický dres Rapha Core",
"price": "88.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pinkvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "47294",
"name": "Ľahký základný dámsky cyklistický dres Rapha Core",
"price": "88.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "37367",
"name": "Dámsky cyklistický termodres s dlhým rukávom Trek Circuit Women't Thermal Long Sleeve Cycling Jersey",
"price": "79.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36069",
"name": "Dámsky cyklistický dres s dlhými rukávmi Trek Circuit LTD Long Sleeve Cycling Jersey",
"price": "69.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greendark_teal",
"list": "More Options",
"position": 5
}
,
{
"id": "35816",
"name": "Dámsky cyklistický nátelník Trek Circuit",
"price": "59.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "More Options",
"position": 6
}
,
{
"id": "34654",
"name": "Dámsky cyklistický nátelník Trek Solstice",
"price": "29.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "More Options",
"position": 7
}
,
{
"id": "45333",
"name": "Replika dámskeho pretekárskeho cyklistického dresu Santini tímu Lidl-Trek",
"price": "71.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}