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