if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "16069",
"name": "ST720 damestel",
"price": "6299.0",
"brand": "Trek",
"category": "ST Series",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "16576",
"name": "ST320",
"price": "5399.0",
"brand": "Trek",
"category": "ST Series",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}