if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "28073",
"name": "Townie 7D EQ Step-Thru",
"price": "699.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28079",
"name": "Townie 7D Step-Over",
"price": "599.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "599.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28070",
"name": "Townie 7D EQ Step-Over",
"price": "699.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}