Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41674",
"name": "Trek Blendr Saddle Bag",
"price": "",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "14683",
"name": "Bontrager Integrated Speed Storage",
"price": "",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44844",
"name": "Trek Blendr Saddle Bag Mount",
"price": "",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "26615",
"name": "Bontrager Fitness Gel Saddle Cover",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "26616",
"name": "Bontrager Comfort Gel Saddle Cover",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "26951",
"name": "Bontrager Hilo Saddle Trim Kit",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}