if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "40406",
"name": "Fox Racing Ranger Women's Mountain Bike Pant",
"price": "99.99",
"brand": "Fox Racing",
"category": "Women's cycling tights & pants",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}