if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41206",
"name": "Ponto Go!",
"price": "2499.97",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26947",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "3299.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33004",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "2899.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33003",
"name": "Townie Go! 5i EQ Step-Over",
"price": "2899.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47937",
"name": "Townie Go! 7D EQ Step-Over",
"price": "1799.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47938",
"name": "Townie Go! 7D EQ Step-Thru",
"price": "1799.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35273",
"name": "Townie Go! 7D Step-Thru",
"price": "1399.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35272",
"name": "Townie Go! 7D Step-Over",
"price": "1399.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}