if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "21503",
"name": "Trek Kids Tassels",
"price": "55.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "11155",
"name": "Bontrager Satellite Plus IsoZone styrändsadapter",
"price": "179.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "10311",
"name": "Bontrager IsoZone Handlebar Plugs",
"price": "35.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34014",
"name": "Electra Handlebar Streamers tofsar",
"price": "54.5",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "pinkdark_reflective",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}