Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "48049",
"name": "Trek Aero RSL Road Integrated Handlebar/Stem",
"price": "949.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "13661",
"name": "Madone KVF Aero Integrated Handlebar/Stem",
"price": "1039.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "24975",
"name": "Trek Madone SLR Road Handlebar",
"price": "649.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41599",
"name": "Bontrager RSL Aero Road Handlebar",
"price": "629.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "45578",
"name": "Bontrager GR Pro IsoCore Gravel Handlebar",
"price": "499.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
,
{
"id": "32645",
"name": "Bontrager Pro VR-C Road Handlebar",
"price": "349.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "45313",
"name": "Bontrager Aero Pro Road Handlebar",
"price": "349.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "More Options",
"position": 7
}
,
{
"id": "45314",
"name": "Bontrager GR Elite IsoZone Gravel Handlebar",
"price": "179.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "34938",
"name": "Bontrager GR Elite Road Handlebar",
"price": "179.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "23238",
"name": "Bontrager Elite Aero VR-CF Road Handlebars",
"price": "159.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "32192",
"name": "Bontrager XXX VR-C Road Handlebar",
"price": "579.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}