if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26949",
"name": "Townie Path Go! 10D EQ de quadro alto",
"price": "2489.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "29099",
"name": "Townie Path Go! 5i Step-Thru",
"price": "2489.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26950",
"name": "Townie Path Go! 10D Step-Thru",
"price": "2489.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}