if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "61376",
"name": "100% Trek Team Edition Korbin solglasögon med HiPER-lins",
"price": "2499.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "61370",
"name": "100% Trek Factory Racing kortärmad MTB-tröja",
"price": "749.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}