Go Back to Parent Doc

Public Order Tracking Page — Delivery Manager Pro

The tracking page lets customers follow a delivery without logging in — useful for guest checkouts and for the “where is my order?” link you paste into a text message. It’s part of Delivery Manager Pro.

Setting it up

  1. Create a page — “Track your order” is a good name — and add the shortcode: [dmanp_track_order] and Optional attribute: [dmanp_track_order title="Track your delivery"].
  2. Go to WooCommerce → Delivery Manager → Tracking Page and select that page in the Tracking page dropdown. This is what makes the {tracking_url} email placeholder and the tracking button in emails work, and what dmanp_get_tracking_url() returns.
  3. Choose Verify with: Option | Customer enters
    Order number + billing email (default) | Order number and the billing email
    Order number + phone | Order number and the phone on the order
    Order number + email or phone | Order number and either one
  4. Choose what to Show: the delivery person’s name, and their phone number. Both are off-by-default for the phone and on-by-default for the name, and the name is also governed by the General → Customer View setting.
  5. Save.

What the customer sees

The page starts as a small form — order number plus the identifier you chose. On a successful lookup it renders the same Pro delivery timeline as the order page: the status badge with your status labels and descriptions, the expected delivery date and time slot, public delivery notes, and the proof-of-delivery summary if you allow it. A Track another order link resets the form.

Tokenised links from emails

Every order gets a private tracking token. Links built into Pro’s delivery emails (and the {tracking_url} placeholder) carry that token, so a customer clicking from their inbox lands straight on their timeline with no lookup form at all. The token is per-order, so one customer’s link never exposes another’s order.

Rate limiting

Manual lookups are rate-limited to 10 attempts per 10 minutes per visitor, so the form can’t be used to enumerate order numbers. Tokenised links bypass the form and aren’t affected.

Customising it

The page is a WooCommerce template, overridable from your theme:

TemplateCopy to
templates/tracking/track-order.phpyourtheme/woocommerce/tracking/track-order.php

Developers can change how an order is resolved with the dmanp_tracking_page_lookup filter, and change the generated URL with dmanp_tracking_page_url. See the Developer Reference.

Related

Shopping Cart
  • Your cart is empty.