if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "47321",
"name": "Rapha Pro Team Cycling Sock",
"price": "180.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}