if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "45636",
"name": "DeFeet Aireator 6" Ombre Socks",
"price": "19.99",
"brand": "DeFeet",
"category": "Cycling socks",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}