Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "13656",
"name": "Trek Madone 9 Aero Integrated Brake Caliper",
"price": "234.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24977",
"name": "Trek Madone SLR Brakes",
"price": "234.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30897",
"name": "Bontrager Speed Stop Pro Direct Mount Brake Caliper",
"price": "209.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "13070",
"name": "Bontrager Speed Stop Integrated Brake",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black_greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "12287",
"name": "Trek Speed Concept Brake Caliper",
"price": "129.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "13509",
"name": "Shimano Tiagra Brake Caliper",
"price": "33.99",
"brand": "Shimano",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "01343",
"name": "Shimano Sora Brake Caliper",
"price": "30.99",
"brand": "Shimano",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "14028",
"name": "Electra Replacement Loft Brakes",
"price": "20.99",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "10775",
"name": "Lee Chi Long Reach Brake Caliper",
"price": "17.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "01326",
"name": "Shimano Altus Cantilever Brake",
"price": "14.99",
"brand": "Shimano",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}