if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "34150",
"name": "Electra Cruiser Lux Fender Set",
"price": "",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35723",
"name": "Electra Cruiser Go!/Townie Go! Juego de salpicaderas 7D",
"price": "",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35954",
"name": "Electra Ziggy Cruiser Go!/Townie Go! 7D Fender Set",
"price": "",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}