if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "14730",
"name": "Electra Lifestyle Lux Cool Cat Helmet",
"price": "63.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14514",
"name": "Timbre de bicicleta Electra Cool Cat Ringer",
"price": "14.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}