if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "33851",
"name": "Electra Straight 8 8i Wheel",
"price": "169.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}