if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech Tee",
"price": "295.2",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45017",
"name": "100% Trek Factory Racing Long Sleeve Airmatic",
"price": "749.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}