Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "42.49",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager Gel Cork Handlebar Tape",
"price": "27.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": "34.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": "39.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": "33.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": "29.74",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "47893",
"name": "Trek Gel Cork Handlebar Tape Set",
"price": "25.49",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "22854",
"name": "Bontrager Gel Cork Graphic Handlebar Tape",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 8
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Handlebar Tape",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orangevisibility",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}