if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "25382",
"name": "Bontrager-Electra Fidlock SNAP Helmet Buckle",
"price": "9.99",
"brand": "Bontrager-Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22829",
"name": "Electra Helmet Visor",
"price": "8.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22830",
"name": "Almohadillas de ajuste para casco Electra",
"price": "3.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}