if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37596",
"name": "Electra 16" kinderstuur",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37595",
"name": "Electra 20" kinderstuur",
"price": "24.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}