if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37569",
"name": "Electra Townie 135 x 12mm Derailleur Hanger",
"price": "23.99",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}