Navigation
Using metadata
Sabil gives you the standard data and metrics that every company is interested in. But it would be great to segment your users and drill down on your data and visualize it. Sabil enables you to do that with the metadata. The metadata is a Map of Key-String values that you can use to segment or customize your data.
Simply add the metadata parameter to the attach
function with your desired data. Then you can use these values to filter your graphs on the dashboards.
Here's what filtered data looks like. Notice we use a segment field in the metadata
Sabil.attach({ /// ... params metadata: { segment: "local", // or remote },});
Then we use the same metadata to filter the dashboard.