Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "38009",
"name": "Trek 2022 Speed Concept TT Basebar",
"price": "429.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "13909",
"name": "Bontrager Speed Concept Base Non-UCI Legal Handlebar",
"price": "339.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "13910",
"name": "Bontrager Speed Concept Base UCI Legal Handlebar",
"price": "339.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41724",
"name": "Trek TT Mono Extension Plug-in",
"price": "189.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "30032",
"name": "Trek TT Mono Ergo Extension",
"price": "189.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41723",
"name": "Trek TT Mono Extension",
"price": "189.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "44.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "41169",
"name": "Trek Speed Concept Handlebar Storage Port Foam",
"price": "5.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "41168",
"name": "Trek Speed Concept Handlebar Cover Foam",
"price": "4.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}