if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "14773",
"name": "Bontrager S2 Softshell Shoe Covers",
"price": "139.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25046",
"name": "Bontrager Waterproof Cycling Shoe Cover",
"price": "74.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14775",
"name": "Bontrager S1 Softshell Shoe Covers",
"price": "54.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25045",
"name": "Bontrager Windshell Cycling Toe Cover",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}