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
}
,
{
"id": "17003",
"name": "Loft 7i Step-Thru",
"price": "599.99",
"brand": "Electra",
"category": "Loft",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "499.99",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "16717",
"name": "Loft 7D Step-Over",
"price": "499.99",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34872",
"name": "Vale Go! 9D EQ S",
"price": "3299.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34871",
"name": "Vale Go! 9D EQ",
"price": "3099.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}