Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "12287",
"name": "Trek Speed Concept Brakes",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12787",
"name": "Electra Townie Lee-Chi HV-126 Brake Calliper",
"price": "",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "13656",
"name": "Trek Madone 9 Aero Integrated Brake",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "24977",
"name": "Trek Madone SLR Brakes",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "10775",
"name": "Lee Chi Long Reach Brake Caliper",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "13070",
"name": "Bontrager Speed Stop Integrated Brake",
"price": "",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black_greydark",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}