Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "35706",
"name": "Electra Gnome Elastomer Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "22353",
"name": "Electra Loft Vintage Brown Bike Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "More Options",
"position": 2
}
,
{
"id": "28576",
"name": "Electra Vinyl Ergo Bike Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "14003",
"name": "Electra Cruiser XL Bike Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black_white",
"list": "More Options",
"position": 4
}
,
{
"id": "12682",
"name": "Electra Heartchya Cruiser Bike Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "35707",
"name": "Asiento de elastómero Electra Ziggy",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "More Options",
"position": 6
}
,
{
"id": "35708",
"name": "Asiento de elastómero Electra Miami",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "More Options",
"position": 7
}
,
{
"id": "32678",
"name": "Electra Water Lily Cruiser Bike Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "40275",
"name": "Electra Classic Faux Leather Bike Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "14002",
"name": "Electra Cruiser Bike Saddle w/Elastomers",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 10
}
,
{
"id": "28575",
"name": "Electra XL Ergo Bike Saddle",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "35513",
"name": "Asiento de espuma de memoria Electra XXL",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "35709",
"name": "Asiento de elastómero Electra Retro Stripe",
"price": "",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}