Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35041",
"name": "Cyklistická obuv Trek RSL Mountain",
"price": "399.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "45271",
"name": "Obuv na horskú cyklistiku Trek Cambion",
"price": "279.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45272",
"name": "Obuv na horskú cyklistiku Trek Foray",
"price": "169.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "25343",
"name": "MTB tretry Bontrager XXX",
"price": "299.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "24883",
"name": "Tretry na horská kola Bontrager Rally",
"price": "149.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark",
"list": "More Options",
"position": 5
}
,
{
"id": "34130",
"name": "MTB tretry Bontrager Foray",
"price": "134.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "34129",
"name": "Horské tretry Bontrager Evoke",
"price": "119.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_orangevisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "34790",
"name": "MTB tretry Bontrager Flatline",
"price": "119.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_black",
"list": "More Options",
"position": 8
}
,
{
"id": "34789",
"name": "MTB tretry Bontrager Quantum",
"price": "99.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "31577",
"name": "Gravel tretry Bontrager GR2",
"price": "77.5",
"brand": "Bontrager",
"category": "Cyclocross & gravel bike shoes",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}