Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "32116",
"name": "Tektro Hydraulic Brake Olive and Barb Hose Fittings - 10 Pack",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "More Options",
"position": 1
}
,
{
"id": "27542",
"name": "Trek Hydraulic Housing Front Frame Grommet",
"price": "",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "32115",
"name": "Tektro Hydraulic Brake Hose Kit",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}