Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "13657",
"name": "Trek Madone 9 Aero Brake Pad Holders",
"price": "39.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30734",
"name": "Trek Madone 9 Series Brake Stop with Num Holder",
"price": "38.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26460",
"name": "Trek Madone SLR Front Brake Cable Stop",
"price": "31.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "30731",
"name": "Trek Madone 9 Series Brake Stop",
"price": "21.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22441",
"name": "Trek Road Brake/Di2 Housing Stop",
"price": "19.99",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25777",
"name": "Shimano Mineral Oil Brake Fluid",
"price": "14.99",
"brand": "Shimano",
"category": "Bike brakes, pads, & levers",
"variant": "pink",
"list": "More Options",
"position": 6
}
,
{
"id": "25854",
"name": "Trek Speed Concept Aerobar Front Brake Housing Stop",
"price": "13.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "28507",
"name": "Electra Coaster Brake Arm Clamps",
"price": "6.99",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "01552",
"name": "Bontrager 90-Degree V-Brake Noodle Cable Guide",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "25798",
"name": "Bontrager V-Brake Rubber Boot",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}