Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "11638",
"name": "Bontrager Race Lite Ergo Bar Ends",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_white",
"list": "More Options",
"position": 1
}
,
{
"id": "02563",
"name": "Bontrager Full Bend Bar Ends",
"price": "20.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "22158",
"name": "Bontrager Race Lite Ergo Bar Ends IsoZone Bar Adapters",
"price": "8.5",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "10311",
"name": "Bontrager IsoZone Handlebar Plugs",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "37148",
"name": "Wolf Tooth Alloy Bar End Plug",
"price": "19.95",
"brand": "Wolf Tooth Components",
"category": "Bike handlebars",
"variant": "gold",
"list": "More Options",
"position": 5
}
,
{
"id": "35097",
"name": "Wolf Tooth Handlebar End Plugs",
"price": "2.95",
"brand": "Wolf Tooth Components",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}