if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "89.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28142",
"name": "Electra Pixeo XD Dynamo spatbordbevestiging 2800 mm fietsachterlicht",
"price": "19.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "red_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25656",
"name": "Electra Nr.9 XE E-bike achterlicht",
"price": "17.49",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31092",
"name": "Spanninga Presto EX Guard E-bike fietsachterlicht",
"price": "12.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}