Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "31550",
"name": "Plášť Bontrager LT4 Expert Reflective E-bike",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "12722",
"name": "Electra Cruiser Vintage Diamond Tire",
"price": "29.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "12720",
"name": "Plášť pro kola Electra Retrorunner Cruiser",
"price": "26.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 3
}
,
{
"id": "34514",
"name": "Plášť pro městská kola Electra Balloon",
"price": "23.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34706",
"name": "Electra Strat-O-Balloon 24" Cruiser Tire",
"price": "22.49",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 5
}
,
{
"id": "12719",
"name": "Pláště Electra Cruiser s agresivním vzorkem",
"price": "22.49",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "12716",
"name": "Plášť Electra Cruiser Fatti-O 24 palců",
"price": "19.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "21678",
"name": "Pláště Electra Lux Fat, 26 palců",
"price": "59.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}