if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "45456",
"name": "Electra Ponto Go! Downtube Bumper",
"price": "6.49",
"brand": "Electra",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}