Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "23594",
"name": "Bontrager Boulevard Fluid Fahrradsattel",
"price": "84.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "10508",
"name": "Trek Urban Saddles",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "21589",
"name": "Bontrager Boulevard Fahrradsattel",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "40275",
"name": "Electra Classic Faux Leather Bike Saddle",
"price": "55.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "28576",
"name": "Electra Vinyl Ergo Bike Saddle",
"price": "44.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "35707",
"name": "Electra Ziggy Elastomer-Sattel",
"price": "39.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "More Options",
"position": 6
}
,
{
"id": "14003",
"name": "Electra Cruiser XL Bike Saddle",
"price": "35.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "12228",
"name": "Trek Fashion Sättel",
"price": "34.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "brown_white",
"list": "More Options",
"position": 8
}
,
{
"id": "14002",
"name": "Electra Cruiser Bike Saddle w/Elastomers",
"price": "31.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "35706",
"name": "Electra Gnome Elastomer Saddle",
"price": "25.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "35708",
"name": "Electra Miami Elastomer Sattel",
"price": "25.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "More Options",
"position": 11
}
,
{
"id": "12682",
"name": "Electra Heartchya Cruiser Bike Saddle",
"price": "24.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 12
}
,
{
"id": "32678",
"name": "Electra Water Lily Cruiser Bike Saddle",
"price": "24.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}