if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "34014",
"name": "Electra Handlebar Streamers tofsar",
"price": "54.5",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "pinkdark_reflective",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34405",
"name": "Electra Solid Color Twister ringklocka",
"price": "54.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}