Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
GuidesNovember 22, 20266 min read

How to Build a Delivery Tracking App

Customers do not need a moving dot as much as you think. They need honest statuses, a good time estimate and one message when the driver is close.

Startbase Team
Editorial ink illustration of a paper road map with a wooden delivery van on a dotted route between two houses, the destination pin in ember orange

Key takeaways

  • Design the status model first: a fixed list of states, allowed moves between them, and a timestamped event for each change.
  • Live location from a browser tab is limited: it stops when the phone locks or the tab is in the background. Plan for status updates at each stop instead of continuous tracking.
  • Notify customers at three moments: dispatched, nearly there, delivered. More messages than that train people to ignore them.

Delivery tracking comes down to a status model everyone agrees on (created, assigned, picked up, out for delivery, delivered or failed), a simple screen for drivers to move deliveries through those statuses, a tracking page for customers, and a few well-timed notifications. Maps and live driver location sit on top, and they are the part to scope carefully, because location tracking from a phone browser has real limits you should design around rather than discover in week three.

What kind of delivery business?

A bakery with one van, a florist using two part-time drivers, a furniture store booking two-hour windows, and a courier moving parcels across a city all "track deliveries", but they care about different things:

  • Same-day local (food, flowers): minutes matter, one driver does a short run, customers want "about 20 minutes".
  • Scheduled windows (furniture, appliances): customers want the window confirmed and a heads-up when they are next.
  • Multi-stop routes (parcels, wholesale): the driver has 30 stops, order matters, proof of delivery matters.

This guide assumes a small local business with its own drivers. If you need drivers from the public who sign up and earn per job, you are building a marketplace; see how to build a marketplace app instead.

Start with the status model

Write the statuses down before any screen. A solid starting set: created, assigned (a driver is chosen), picked up, out for delivery, arriving (next stop), delivered, and failed (with a reason: nobody home, wrong address, refused). Then write the allowed moves. Delivered cannot go back to picked up; failed can go to assigned for a second attempt.

Store each change as an event row (delivery, status, time, who, optional note and location) rather than only updating a status column. The current status is the latest event. The history gives you the customer timeline ("picked up 10:42, out for delivery 11:05"), proof when a customer disputes a delivery, and real numbers on how long each step takes.

The data model

  • deliveries: customer name, phone, email, address, latitude and longitude, window start and end, notes ("gate code 4410"), current status, assigned driver, tracking token.
  • delivery_events: delivery, status, created at, by whom, note, optional location.
  • drivers: user, name, phone, active flag, vehicle.
  • routes (optional at first): driver, date, ordered list of deliveries.
  • proofs: delivery, photo path in storage, recipient name, created at.

The tracking token is a long random string in the customer's link (for example /track/8f3k...). It lets the customer see one delivery without an account, and it cannot be guessed the way order number 1042 can. The page shows only what the customer needs: status, estimate, timeline and the driver's first name.

Maps and location, honestly

This is the part people underestimate. A web page can ask for the phone's location while it is open and on screen. When the driver locks the phone, switches to the navigation app or the browser moves the tab to the background, updates slow down or stop. Continuous background tracking generally needs a native app with background location permission, which is a separate build with its own review rules.

With Startbase you can build the driver screen as a web app or an Expo app. Expo apps run on a phone through Expo Go while you build, but App Store and Play Store builds are not available from Startbase right now; for a store build you would export the code or sync it to GitHub and use your own Expo workflow (see publishing to app stores). That makes the honest first version simple:

  • Location at each status change. When the driver taps Picked up or Arriving, the app records where they were. That is reliable because the screen is open at that moment.
  • Estimates from the route, not from a live dot. "You are stop 3 of 8, about 25 minutes" is more useful than a dot that froze ten minutes ago.
  • A live map only while the driver screen is open, clearly labeled with "last updated 2 minutes ago" so a stale position never looks current.

For the map itself you will use a map provider's tiles and, if you want driving times, its routing service. Most providers need an API key. A browser map key is visible in the page by design, so restrict it to your domain in the provider's dashboard. Keys for server-side calls such as routing or geocoding belong in your backend's Secrets, read by an edge function, never in the app code.

A driver screen built for gloves and glare

Drivers use the app standing next to a van, often with a parcel in one hand, in bright sunlight. Design for that, not for a desk:

  • One big button for the next step. The screen for a stop shows the address, the notes and a single large button with the next allowed status. Rarer actions (failed, reorder) sit behind a smaller menu.
  • Hand off to real navigation. Do not rebuild turn-by-turn directions. An Open in Maps button that passes the address to the phone's own maps app is better than anything you would build.
  • Call and text the customer from the stop, with the number already filled in.
  • Weak signal is normal. Basements and rural roads drop connections. Show clearly when an update has not reached the server yet, and retry it rather than silently losing a delivered status.

Notifications at the right moments

  1. 01Dispatched: "Your order is on its way, track it here", with the tracking link.
  2. 02Nearly there: sent when the driver marks the previous stop delivered, or when they tap Arriving.
  3. 03Delivered or failed: with the photo proof or the reason and how to rebook.

Email is the easy channel: Startbase Cloud apps can send email through the platform sender with no setup, or through your own domain (see Emails). Text messages reach people faster on delivery day but need an SMS provider account and cost per message, so add them once the flow is proven.

Tip

Run a full test day with yourself as the driver: create five deliveries, drive (or walk) the route with the phone locked between stops, and read every message the customer would get. Anything confusing on that walk will be confusing for real customers.

A brief for the first version

Build a delivery tracking web app for a local florist with three drivers. Dispatchers create deliveries (customer, phone, email, address, delivery window, notes) and assign a driver. Statuses: created, assigned, picked up, out for delivery, arriving, delivered, failed (with reason); only allowed transitions; every change saved as a delivery_events row with time, user and the phone location if available. Driver screen, built mobile first: today's deliveries in order, big buttons for the next status, tap to call the customer, open address in the phone's maps app, and photo proof of delivery uploaded to a private bucket. Customers get a tracking page at /track/<random token> with status, timeline, stop number and an estimate, no sign-in. Email the customer when dispatched, when arriving and when delivered. Dispatcher view: a list of today's deliveries by status, and a map of delivery addresses.

What to leave out

  • Route optimization. Ordering 30 stops well is a hard problem with paid services built for it. Let the dispatcher drag stops into order first.
  • Continuous background GPS. As above, it needs a native build and careful battery and privacy handling.
  • Customer accounts. A tracking link is enough. Accounts add sign-in friction for a one-off delivery.
  • Driver payouts and shifts. That is scheduling and payroll, a different tool.

A delivery tracker pays off quickly in fewer "where is my order?" calls. For tools in the same family, browse the business use cases. For budget ranges, see what a food delivery app costs, and realtime features explained covers live updates like driver location.

Frequently asked questions

Can a web app track a driver's location in real time?

Only while the page is open and on screen. Browsers limit location updates when the phone is locked or the tab is in the background, so continuous tracking usually needs a native app. A web app can reliably record location at each status change.

What statuses should a delivery tracking app have?

A common set is created, assigned, picked up, out for delivery, arriving, delivered and failed with a reason. Store each change as a timestamped event so you have a full history.

Do customers need an account to track a delivery?

No. Send a link with a long random tracking token that shows just that delivery. It is easier for customers and safer than a page that looks up guessable order numbers.

Do I need a maps API key?

Usually yes, for map tiles and especially for routing or address lookup. Restrict browser keys to your domain, and keep server-side keys in your backend secrets.

On this page

  • What kind of delivery business?
  • Start with the status model
  • The data model
  • Maps and location, honestly
  • A driver screen built for gloves and glare
  • Notifications at the right moments
  • A brief for the first version
  • What to leave out

Keep reading

More in Guides
Editorial ink illustration of a kitchen scale with an apple on its pan beside a notepad and a spoon, the apple in ember orange
GuidesNovember 22, 2026

How to Build a Calorie Tracker App

Calorie tracking fails when logging is slow or the numbers are wrong. Get reliable food data, make repeat meals one tap, and be honest that every number is an estimate.

6 min read
Editorial ink illustration of two tin-can telephones joined by a string across a garden fence, the knot in the string in ember orange
GuidesNovember 22, 2026

How to Build a Chat App

Chat looks simple and hides four hard problems: delivering messages live, knowing who is online, tracking who has read what, and keeping strangers from abusing it.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.