if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "22798",
"name": "Bontrager Evoke Women's Mountain Short",
"price": "79.99",
"brand": "Bontrager",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22789",
"name": "Bontrager Evoke Mountain Short",
"price": "64.99",
"brand": "Bontrager",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22791",
"name": "Bontrager Quantum Fitness Short",
"price": "40.01",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22800",
"name": "Bontrager Kalia Women's Short",
"price": "29.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}