if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "17003",
"name": "Loft 7i Step-Thru",
"price": "",
"brand": "Electra",
"category": "Loft",
"variant": "green",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24532",
"name": "Loft 7i EQ Step-Over",
"price": "",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24531",
"name": "Loft 7D EQ Step-Thru",
"price": "",
"brand": "Electra",
"category": "Loft",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "16717",
"name": "Loft 7D Step-Over",
"price": "",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24533",
"name": "Loft 7i EQ Step-Thru",
"price": "",
"brand": "Electra",
"category": "Loft",
"variant": "green",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}