if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "48907",
"name": "Rapha cykelbaselayer til kvinder. Fremstillet af merino",
"price": "680.0",
"brand": "Rapha",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48906",
"name": "Rapha cykelbaselayer af merino",
"price": "680.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}