Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "22738",
"name": "Bontrager MIK Utility Gepäckträgertasche",
"price": "103.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33172",
"name": "Bontrager MIK Commuter Gepäckträgertasche",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "24465",
"name": "Bontrager City Gepäckträgertasche",
"price": "93.49",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "33777",
"name": "Electra Charcoal Heckgepäckträgertasche",
"price": "95.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "10.99",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}