Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40276",
"name": "Electra Classic Faux Leather Ergo Grip Set",
"price": "31.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25481",
"name": "Sada ručně šitých krátkých gripů Electra",
"price": "24.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 2
}
,
{
"id": "35711",
"name": "Pryžové gripy Electra Ziggy",
"price": "19.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "More Options",
"position": 3
}
,
{
"id": "35712",
"name": "Pryžové gripy Electra Miami",
"price": "19.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "More Options",
"position": 4
}
,
{
"id": "29402",
"name": "Sada gripů Electra Townie Kraton Ergo Long",
"price": "19.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "More Options",
"position": 5
}
,
{
"id": "25480",
"name": "Sada krátkých a dlouhých gripů Electra Ergo",
"price": "15.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "22357",
"name": "Electra Beach to City Long & Short Grips",
"price": "13.49",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35710",
"name": "Pryžové gripy Electra Gnome",
"price": "12.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35713",
"name": "Pryžové gripy Electra Retro Stripe",
"price": "12.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "12641",
"name": "Sada ručně šitých gripů Electra",
"price": "11.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}