if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47317",
"name": "Rapha Core Women's Cycling Gilet",
"price": "135.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47318",
"name": "Rapha Brevet Cycling Gilet",
"price": "210.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47315",
"name": "Rapha Pro Team Lightweight Cycling Gilet",
"price": "185.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "94.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47316",
"name": "Rapha Core Cycling Gilet",
"price": "81.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24973",
"name": "Bontrager Circuit Women's Cycling Wind Vest",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}