Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "37096",
"name": "Trek Velocis Dual Foam Unisex-Fahrradhandschuh",
"price": "45.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Fahrradhandschuh",
"price": "35.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "34504",
"name": "Bontrager Velocis Dual Foam Fahrradhandschuh",
"price": "39.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34509",
"name": "Bontrager Velocis Women's Dual Foam Fahrradhandschuh",
"price": "39.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34505",
"name": "Bontrager Circuit Twin Gel Fahrradhandschuh",
"price": "32.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "34507",
"name": "Bontrager Solstice Gel Fahrradhandschuh",
"price": "27.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "34513",
"name": "Bontrager Solstice Women's Gel Fahrradhandschuh",
"price": "27.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "37510",
"name": "Santini Trek-Segafredo Women's Team Fahrradhandschuh",
"price": "22.0",
"brand": "Santini",
"category": "Fingerless cycling gloves",
"variant": "bluelight",
"list": "More Options",
"position": 8
}
,
{
"id": "37509",
"name": "Santini Trek-Segafredo Men's Team Fahrradhandschuh",
"price": "22.0",
"brand": "Santini",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "34512",
"name": "Bontrager Vella Women's Twin Gel Fahrradhandschuh",
"price": "20.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "9.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}