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": "36415",
"name": "Loft Go! 7D EQ Step-Thru",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}