if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "33004",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35211",
"name": "Shibori Cruiser Go!",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36601",
"name": "Kākau Cruiser Go!",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "brown",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35213",
"name": "Bali Cruiser Go!",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33463",
"name": "Ghostrider Go!",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33179",
"name": "Ace of Spades Go! 5i",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33464",
"name": "Navigator Go! 5i",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}