if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "34400",
"name": "Sonnette Twister Electra Sunny",
"price": "7.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34398",
"name": "Sonnette de vélo Electra Forward Twister Offshore",
"price": "7.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white_teal",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33917",
"name": "Sonnette Twister Electra Mountain High",
"price": "7.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_orangelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34399",
"name": "Sonnet Twister Electra Rosette",
"price": "7.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34405",
"name": "Sonnette de vélo Electra Forward Twister couleur unie",
"price": "6.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25874",
"name": "Collier de tige de selle pour vélo enfants de Trek",
"price": "5.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41994",
"name": "Trek Kids' Center Mount 235mm Kickstand",
"price": "20.0",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32536",
"name": "Trek Kids' Center Mount 247mm Kickstand",
"price": "20.0",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}