Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "32739",
"name": "Trek Velocis dames-bibshort",
"price": "99.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32743",
"name": "Trek Circuit dames bibshort",
"price": "79.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47311",
"name": "Rapha Core dames cargoshort",
"price": "115.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32745",
"name": "Trek Circuit damesfietsbroek",
"price": "59.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34655",
"name": "Trek Solstice dames-bibshort",
"price": "59.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32747",
"name": "Trek Solstice damesfietsbroek",
"price": "39.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "45334",
"name": "Santini Lidl-Trek Replica damesfietsbroek",
"price": "79.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}