Places Ops Views
HyperTrack provides different embeddable Ops Views that can be used by your Ops teams to manage shift places.
Places List/Map View
The Places list/map view provides a list of places created in a tabular format. It provides powerful filters that allow Ops teams to slice and view segments of data based on the place type, metadata, Ops Groups and much more.
List View
Sample URL:
https://embed.hypertrack.com/views/places?token=<token from OAuth API>
Map View
Sample URL:
https://embed.hypertrack.com/places?token=<token from OAuth API>&place-view=map
Places intelligence is a feature that automatically learns the improved boundaries of a place and helps reduce instances of shift fraud, better ETA and routes, and improved detection of early exits.
Embed Filters and Customizations
Parameter | View | Value | Description |
---|---|---|---|
place-list-state | Map/List | Base64 encoded string | Base64 encoding of a JSON object with fields described below |
place-list-state.place_handles | Map/List | List of place_handle strings | Filter the view by the place_handles |
https://dashboard.hypertrack.com/places?publishable_key=<PUB_KEY&place-view=map&place-list-state=eyJwbGFjZV9oYW5kbGVzIjogWyJwbGFjZV9ob21lIl19
Example usage of place-state-list
let obj = {"place_handles": ["place_1"]}
let urlEncodedStateString = encodeURIComponent(btoa(JSON.stringify(obj))) // B64 encoding followed by URI encoding
console.log(urlEncodedStateString)
// The value below can then be passed as the value of the `place-list-state` query param.
// eyJwbGFjZV9oYW5kbGVzIjogWyJwbGFjZV9ob21lIl19
Updated about 2 months ago