if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "35906",
"name": "Casco de estilo de vida Electra Tutti Frutti",
"price": "",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34174",
"name": "Electra Townie GO! 5i MIK Rear Rack",
"price": "",
"brand": "Electra",
"category": "Bike racks",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}