if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "13495",
"name": "Tendeur de courroie Trek TAB",
"price": "70.0",
"brand": "Trek",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31962",
"name": "Gates Drive Belt",
"price": "160.0",
"brand": "Gates",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11008",
"name": "Gates Center Track Belts",
"price": "120.0",
"brand": "Gates",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13496",
"name": "Courroie Trek TAB",
"price": "90.0",
"brand": "Trek",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}