if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "44796",
"name": "Station de charge Trek CHRGtime",
"price": "109.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34870",
"name": "Being Gary Fisher and the Bicycle Revolution Autobiography",
"price": "48.0",
"brand": "Trek",
"category": "Cycling gifts & fun stuff",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32311",
"name": "Trek Sticker",
"price": "9.0",
"brand": "Trek",
"category": "Cycling gifts & fun stuff",
"variant": "white_red",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}