if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "14514",
"name": "Sonnette Electra Cool Cat",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21639",
"name": "Sonnette Electra Frenchie",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40174",
"name": "Sonnette Electra Color Wheel",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "bluelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14500",
"name": "Sonnette Electra Ice Cream",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40175",
"name": "Sonnette Electra Poppy",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "bluelight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14508",
"name": "Sonnette Electra Unicorn",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14920",
"name": "Sonnette Electra Donut",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "brown_pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14501",
"name": "Sonnette Electra XOXO",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "purple",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40173",
"name": "Sonnette Electra Gummy Bear",
"price": "17.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greenlight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "14477",
"name": "Sonnette de couleur Electra",
"price": "7.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}