if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "22818",
"name": "Bontrager UV Sunstop Cycling Leg Cover",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14775",
"name": "Bontrager S1 Softshell Shoe Covers",
"price": "64.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12006",
"name": "Bontrager Visibility Thermal Knee Warmer",
"price": "24.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}