if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "34654",
"name": "Trek Solstice-cykeltrøje til kvinder",
"price": "249.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34653",
"name": "Trek Solstice-cykeltrøje",
"price": "249.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37083",
"name": "Trek Evoke MTB tech t-shirt til kvinder",
"price": "249.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37082",
"name": "Trek Evoke MTB tech t-shirt",
"price": "249.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14964",
"name": "Bontrager Solstice cykeltrøje",
"price": "114.0",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}