Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "36232",
"name": "Electra Tandem Stoker Stem",
"price": "329.0",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "12708",
"name": "Electra Cruiser-alufrempind",
"price": "90.0",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}