Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "32738",
"name": "Trek Velocis Trägershort",
"price": "109.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32742",
"name": "Trek Circuit Trägershort",
"price": "89.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47308",
"name": "Rapha Core Radträgershort",
"price": "133.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "47307",
"name": "Rapha Pro Team Training Radträgershort",
"price": "220.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "47310",
"name": "Rapha Core Cargo Radshorts",
"price": "120.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34659",
"name": "Trek Solstice Trägershort",
"price": "65.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32746",
"name": "Trek Solstice Radshort",
"price": "45.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "44121",
"name": "Santini Trek-Segafredo Men's RSL Team Trägershorts",
"price": "149.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 8
}
,
{
"id": "13446",
"name": "Bontrager Velocis Thermal inForm Trägershort",
"price": "118.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "44123",
"name": "Santini Trek-Segafredo Men's Team Replica Race Trägershorts",
"price": "83.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 10
}
,
{
"id": "27187",
"name": "Bontrager Adventure Radshorts",
"price": "29.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "grey",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}