if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "34350",
"name": "E-Caliber 9.8 Gen 1",
"price": "110999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}