Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "12095",
"name": "Bontrager Speed Stop Brake Pad Holders",
"price": "46.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "13657",
"name": "Trek Madone 9 Aero Brake Pad Holders",
"price": "45.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30734",
"name": "Trek Madone 9 Series Brake Stop with Num Holder",
"price": "44.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "30731",
"name": "Trek Madone 9 Series Brake Stop",
"price": "24.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22441",
"name": "Trek Road Brake/Di2 Housing Stop",
"price": "23.99",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "28507",
"name": "Electra Coaster Brake Arm Clamps",
"price": "7.99",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "01552",
"name": "Bontrager V-Brake Noodle Cable Guide 90 Degree",
"price": "6.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "25798",
"name": "Bontrager V-Brake Rubber Boot",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}