if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "26943",
"name": "Le Townie Path 9D Step-Over",
"price": "919.99",
"brand": "Electra",
"category": "Townie",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26944",
"name": "Le Townie Path 9D Step-Thru",
"price": "919.99",
"brand": "Electra",
"category": "Townie",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}