Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "09848",
"name": "Bontrager XXX Aero Brake Levers",
"price": "184.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greydark",
"list": "More Options",
"position": 1
}
,
{
"id": "33246",
"name": "Lee Chi V-Brake Levers",
"price": "20.99",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "More Options",
"position": 2
}
,
{
"id": "10762",
"name": "Tektro CL530-RS Brake Lever",
"price": "20.99",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black_greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "09955",
"name": "Trek Kids' Brake Levers",
"price": "11.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}