Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40279",
"name": "Electra Fern Bar End Mirror",
"price": "23.99",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "greendark",
"list": "More Options",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}