Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "44940",
"name": "Trek Ballista Mips Helmet Fit System",
"price": "22.5",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44096",
"name": "Trek Bike Helmet Fit System - Headmaster 3",
"price": "13.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45320",
"name": "Trek Kids Bike Helmet Fit System - Headmaster 3",
"price": "8.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37951",
"name": "Bontrager Circuit WaveCel BOA Helmet Fit System",
"price": "17.5",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14224",
"name": "Bontrager Bike Helmet Fit System - Micro Manager II",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22317",
"name": "Bontrager Boa-Helmverstellsystem",
"price": "40.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "22617",
"name": "Bontrager Velocis Mips Boa-Helmverstellsystem",
"price": "40.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "28845",
"name": "Bontrager WaveCel Boa-Helmverstellsystem",
"price": "17.5",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "32635",
"name": "Bontrager Quickset II Helmverstellsystem",
"price": "11.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "32639",
"name": "Bontrager Dialed Helmverstellsystem",
"price": "11.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "33637",
"name": "Bontrager Jet WaveCel Fahrradhelm-Haltesystem",
"price": "6.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}