if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "22809",
"name": "Bontrager Mesh Women's Sleeveless Cycling Baselayer",
"price": "39.99",
"brand": "Bontrager",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22807",
"name": "Bontrager Mesh Women's Short Sleeve Cycling Baselayer",
"price": "39.99",
"brand": "Bontrager",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}