if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47140",
"name": "Porte-bidon recyclé Trek Elite",
"price": "12.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "429.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41812",
"name": "Sonnette numérique et haut-parleur Trek BellBeats",
"price": "119.99",
"brand": "Trek",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33172",
"name": "sacoche arrière MIK Commuter",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24465",
"name": "Sacoche arrière Bontrager City",
"price": "93.49",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33173",
"name": "Sacoche Bontrager Commuter unique",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33594",
"name": "Sacoche double Bontrager Town",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22373",
"name": "Multi-outil Bontrager Comp",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}