if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "14500",
"name": "Timbre para bici Electra Campanilla de Helados Ringer",
"price": "22.39",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14518",
"name": "Electra Emoji Domed Ringer Bike Bell",
"price": "22.39",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "yellow",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}