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": "41812",
"name": "Timbre digital y altavoz Trek BellBeats",
"price": "119.99",
"brand": "Trek",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33172",
"name": "Bolsa trasera Bontrager MIK Commuter",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24465",
"name": "Bolsa trasera Bontrager City Trunk",
"price": "93.49",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33173",
"name": "Alforja individual Bontrager Commuter",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33594",
"name": "Alforja doble Bontrager Town",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22373",
"name": "Multiherramienta Bontrager Comp",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "47140",
"name": "Portabidón Trek Elite Recycled",
"price": "12.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}