if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "429.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33172",
"name": "Bontrager MIK Commuter Trunk Bag",
"price": "104.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33173",
"name": "Bontrager Commuter Single Pannier",
"price": "94.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24465",
"name": "Bontrager City Trunk Bag",
"price": "93.49",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33594",
"name": "Bontrager Town Double Pannier",
"price": "84.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22373",
"name": "Bontrager Comp Multi-Tool",
"price": "15.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47140",
"name": "Trek Elite Recycled -juomapulloteline",
"price": "13.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}