Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "64.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager Gel Cork Handlebar Tape",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "37298",
"name": "Bontrager Perf Line Handlebar Tape Set",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "bluelight_black",
"list": "More Options",
"position": 3
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork Handlebar Tape",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "47896",
"name": "Trek Perf Line Handlebar Tape Set",
"price": "49.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "48089",
"name": "Trek Double Gel Cork Handlebar Tape Set",
"price": "39.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "47893",
"name": "Trek Gel Cork Handlebar Tape Set",
"price": "34.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "12523",
"name": "Bontrager Supertack Handlebar Tape",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "14104",
"name": "Bontrager Gel Cork Handlebar Tape",
"price": "29.95",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}