Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "32739",
"name": "Trek Velocis Women's Trägershort",
"price": "109.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32743",
"name": "Trek Circuit Women's Trägershort",
"price": "89.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47311",
"name": "Rapha Women's Core Cargo Radshort",
"price": "120.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34655",
"name": "Trek Solstice Women's Trägershort",
"price": "65.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "32745",
"name": "Trek Circuit Women's Radshort",
"price": "65.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32747",
"name": "Trek Solstice Women's Radshort",
"price": "45.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "56746",
"name": "Santini Lidl-Trek Women's Replica Race Short",
"price": "109.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 7
}
,
{
"id": "45334",
"name": "Santini Lidl-Trek Women's Replica Race Short",
"price": "95.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 8
}
,
{
"id": "44125",
"name": "Santini Trek-Segafredo Women's Team Replica Shorts",
"price": "71.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "34854",
"name": "Santini Trek Factory Racing Women's CX Team Replica Trägershort",
"price": "56.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_red",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}