Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack stuurlint",
"price": "36.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager Gel Cork stuurlint",
"price": "22.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Bontrager Grippytack stuurlint",
"price": "17.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_blue",
"list": "More Options",
"position": 3
}
,
{
"id": "37298",
"name": "Bontrager Perf Line stuurlint",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "bluelight_black",
"list": "More Options",
"position": 4
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork stuurlint",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "22854",
"name": "Bontrager Gel-kruk graphic stuurlint",
"price": "32.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 6
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility stuurlint",
"price": "22.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "28485",
"name": "Bontrager Perf Line stuurlint",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "12523",
"name": "Bontrager Supertack stuurlint",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}