if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "30260",
"name": "Electra City Domed Ringer Bike Bell",
"price": "22.39",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"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": 2
}
,
{
"id": "14518",
"name": "Electra Emoji Domed Ringer Bike Bell",
"price": "22.39",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}