if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "27290",
"name": "Bontrager TLR-däcktätning",
"price": "349.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12968",
"name": "Bontragers TLR-tätningsspruta",
"price": "179.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}