Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "33837",
"name": "Electra Scales Socks",
"price": "139.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_white",
"list": "More Options",
"position": 1
}
,
{
"id": "33835",
"name": "Electra Surfbird-strømper",
"price": "118.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "33836",
"name": "Electra Burger-strømper",
"price": "118.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}