Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "30807",
"name": "Bontrager BITS Integriertes Multitool",
"price": "36.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "41411",
"name": "Trek Pro BITS Multi-Tool",
"price": "79.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "44751",
"name": "Trek Elite BITS Multi-Tool",
"price": "49.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "21794",
"name": "Bontrager Pro Flat Pack",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "26602",
"name": "Bontrager Switch Lever Tool",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "36257",
"name": "Unior Multitool EURO17",
"price": "44.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 7
}
,
{
"id": "22651",
"name": "Unior Multitool EURO13",
"price": "39.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 8
}
,
{
"id": "36259",
"name": "Unior Multitool EURO7",
"price": "17.49",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 9
}
,
{
"id": "36258",
"name": "Unior Multitool EURO6",
"price": "17.49",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}