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": "36414",
"name": "Loft Go! 7D EQ Step-Over",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36415",
"name": "Loft Go! 7D EQ Step-Thru",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34872",
"name": "Vale Go! 9D EQ S",
"price": "3299.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34871",
"name": "Vale Go! 9D EQ",
"price": "3099.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}