Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "32738",
"name": "Trek Velocis Trägershort",
"price": "99.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32742",
"name": "Trek Circuit Trägershort",
"price": "79.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47308",
"name": "Rapha Core Radträgershort",
"price": "125.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "47307",
"name": "Rapha Pro Team Training Radträgershort",
"price": "200.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "47310",
"name": "Rapha Core Cargo Radshorts",
"price": "115.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34659",
"name": "Trek Solstice Trägershort",
"price": "59.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32746",
"name": "Trek Solstice Radshort",
"price": "39.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "13446",
"name": "Bontrager Velocis Thermal inForm Trägershort",
"price": "101.49",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "45332",
"name": "Santini Lidl-Trek Replica Race Trägershort",
"price": "95.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 9
}
,
{
"id": "27187",
"name": "Bontrager Adventure Radshorts",
"price": "24.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "grey",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}