Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "25481",
"name": "Electra Hand-Stitched Short Grips",
"price": "30.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 1
}
,
{
"id": "35712",
"name": "Electra Miami Gummigriffe",
"price": "29.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "More Options",
"position": 2
}
,
{
"id": "35711",
"name": "Electra Ziggy Gummigriffe",
"price": "29.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "More Options",
"position": 3
}
,
{
"id": "29403",
"name": "Electra Townie Kraton Ergo Long & Short Grips",
"price": "26.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "29402",
"name": "Electra Townie Kraton Ergo Long Grips",
"price": "26.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25480",
"name": "Electra Ergo Short/Long Grip",
"price": "25.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "25482",
"name": "Electra Water Lily Hand-Stitched Grips",
"price": "20.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "pink",
"list": "More Options",
"position": 7
}
,
{
"id": "12645",
"name": "Electra Heartchya Hand-Stitched Grips",
"price": "20.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "12641",
"name": "Electra Hand-Stitched Long Grip",
"price": "17.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "22378",
"name": "Electra Hand-Stitched Long & Short Grips",
"price": "17.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "35710",
"name": "Electra Gnome Gummigriffe",
"price": "14.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "35713",
"name": "Electra Retro Stripe Gummigriffe",
"price": "14.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}