Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager Gel Cork Handlebar Tape",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Bontrager Grippytack Handlebar Tape",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_white",
"list": "More Options",
"position": 3
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork Handlebar Tape",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "37297",
"name": "Bontrager Supertack Handlebar Tape Set",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Handlebar Tape",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "14246",
"name": "Bontrager Velvetack Handlebar Tape",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_green",
"list": "More Options",
"position": 7
}
,
{
"id": "22854",
"name": "Bontrager Gel Cork Graphic Handlebar Tape",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 8
}
,
{
"id": "28485",
"name": "Bontrager Perf Line Bar Tape",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}