if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36414",
"name": "Loft Go! 7D EQ Step-Over",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35273",
"name": "Townie Go! 7D Step-Thru",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35272",
"name": "Townie Go! 7D Step-Over",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36415",
"name": "Loft Go! 7D EQ Step-Thru",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35207",
"name": "Cruiser Go! Step-Thru",
"price": "1199.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orangelight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35206",
"name": "Cruiser Go! Step-Over",
"price": "1199.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}