Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "36232",
"name": "Electra Tandem Stoker styrefremspring",
"price": "459.0",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "37594",
"name": "Electra Kids styrefremspring med kile",
"price": "209.0",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}