if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "33463",
"name": "Ghostrider Go!",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24561",
"name": "Café Moto Go! Men's",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33179",
"name": "Ace of Spades Go! 5i",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33464",
"name": "Navigator Go! 5i",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}