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": "CATEGORY",
"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": "CATEGORY",
"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": "CATEGORY",
"position": 3
}
,
{
"id": "26460",
"name": "Trek Madone SLR Front Brake Cable Stop",
"price": "36.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30731",
"name": "Trek Madone 9 Series Brake Stop",
"price": "24.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22441",
"name": "Trek Road Brake/Di2 Housing Stop",
"price": "23.99",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25854",
"name": "Trek Speed Concept Aerobar Front Brake Housing Stop",
"price": "15.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "28507",
"name": "Electra Coaster Brake Arm Clamps",
"price": "7.99",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "01552",
"name": "Bontrager 90-Degree V-Brake Noodle Cable Guide",
"price": "6.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "25798",
"name": "Bontrager V-Brake Rubber Boot",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}