if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "15572",
"name": "Delivery 3i Step-Over",
"price": "",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "15589",
"name": "Straight 8 8i",
"price": "",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}