if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "17040",
"name": "Cruiser Lux 7D Men's",
"price": "",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "17108",
"name": "Lux Fat 7D Men's",
"price": "",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "15572",
"name": "Delivery 3i Step-Over",
"price": "",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31387",
"name": "Zelda 3i",
"price": "",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "15589",
"name": "Straight 8 8i Men's",
"price": "",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}