Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "25835",
"name": "Trek BarStem Titanium Pinch Bolt",
"price": "",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "33726",
"name": "Trek Domane+ Handlebar Cable Wrangler",
"price": "",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47384",
"name": "Trek Aero RSL Barstem Pro Blendr Mount",
"price": "",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black_greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "41067",
"name": "Hyena Bluetooth HMI Clamp",
"price": "",
"brand": "Hyena",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14579",
"name": "Electra Quick Release Basket Bracket & Mount",
"price": "",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight_black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}