/ delivery

Why we created heatmap views for our customers

Our customers use HyperTrack to track live location of their app users often in the context of actions they perform in the app. For example how far has my delivery reached did my service professional reach the customer on time how far is my friend from the restaurant where we are meeting up where is the place I am supposed to meet the merchant and so on.

As HyperTrack started generating location data for thousands of users customers started asking more aggregate questions. Can you show me the live location of my users on a map right now? Can you show me the places where my users have been this month? Can you show me the clusters where my customers are located? Can you show me the places where my users stop and spend most time?

Now the answer to all of these questions is yes.

Our three driving factors while building the HyperTrack dashboard are useful, simple and automatic. We want to make our dashboard useful by automatically showing the customers the information they seek. Customers looking for deeper information can engage with our filters search sort and date range features to get useful information they are looking for. This way we can keep simple things simple and hard things possible

For example when customers are looking at the map view of their users today(default time range) they will automatically see the current live location of all users clustered on a map with zoom levels set for that data. Zooming in and out will cluster or de-cluster users to provide information at that granularity.

user filter

Map view of users today

If customers modify the date range to be longer (this week this month last 7 days last 30 days etc.) they will automatically see the heatmap of the places where users have stopped for the most time in that date range.

Places heatmap

On the other hand when customers are looking at the map views of their actions today they will automatically see the current location of all assigned actions for the day clustered on a map. Zooming in and out has the same effect on actions as it does for users in the user view.

Map view of actions today

Similarly if customers select a longer date range they will see the heatmap of the places where the actions were marked complete most frequently in that date range.

Late actions heatmap

These heatmap views combined with the global filters give our customers a powerful tool to view their business on a map.

To power this view we leverage the stop detection feature of the HyperTrack SDK. It tags the places for all significant stops in the life of users. On the front end we use leaflet.heat a lightweight leaflet plugin capable of processing sizeable amounts of data to display a heatmap for every zoom level.

Here are some of the common use cases for which our customer use heatmap views.

  • Neighborhoods with most deliveries: Using the action heatmap for a time range customers can see demand patterns by neighborhoods and plan better by deploying the right number of users to service the demand. A picture does speak a thousand words.
  • **Neighborhoods with delays in visits:**Using the “delayed” filter in the action heatmap view for a time range customers can see useful patterns in delays by neighborhood and set expectations better. Being on time is a critical factor for customer satisfaction and seeing location bottlenecks can be useful to stay on top of service levels. This information helps inform where to open up more delivery centers.
  • **Places heatmap:**Using the user heatmap for a time range customers can see the places frequented by their users. For business apps it helps them understand where staff spends most time. For consumer apps it helps them understand where users hang out. It is useful to know if these places are businesses or residential neighborhoods.

We have received requests from customers to mark traffic congestions and routes that lead to most delays in actions. We are working on this problem next and coming up with useful heatmap views for traffic events and more just like we have done for places in the context of users and actions.

A few minutes of engineering effort to plug the HyperTrack SDK into the app would unlock user cluster and heatmap views. A few more lines of code to build your live location feature would unlock action cluster and heatmap views. I invite you to play around with our dashboard demo or jump straight to signing up to view the live location of your app users on a map.