Informacje ogólne
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "23594",
"name": "Siodełko rowerowe Bontrager Boulevard Fluid",
"price": "379.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "21589",
"name": "Siodełko Bontrager Boulevard",
"price": "199.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "10508",
"name": "Siodełka Trek Urban",
"price": "190.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "40275",
"name": "Electra Classic Faux Leather Bike Saddle",
"price": "255.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "35707",
"name": "Siodełko ze sprężynami elastomerowymi Electra Ziggy",
"price": "199.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "More Options",
"position": 5
}
,
{
"id": "14003",
"name": "Siodełko Electra Cruiser XL",
"price": "167.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "12228",
"name": "Siodełka Trek Fashion",
"price": "150.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "brown_white",
"list": "More Options",
"position": 7
}
,
{
"id": "14002",
"name": "Siodełko z elastomerami Electra Cruiser",
"price": "127.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "35706",
"name": "Siodełko ze sprężynami elastomerowymi Electra Gnome",
"price": "124.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35708",
"name": "Siodełko ze sprężynami elastomerowymi Electra Miami",
"price": "124.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}