Guest Order Tracking
Learn what the EverShop order tracking page shows, how shoppers open it, and how long its links work.
What the tracking page is
The order tracking page shows one order to a shopper who has its link. The shopper does not sign in. This is how guests, who have no account, follow their order. Customers with an account get the same link in their emails.
- The link looks like
https://www.example.com/orders/<order ID>/track?token=<code>. The order ID is a long code that identifies the order. It is not the order number. EverShop makes the code at the end with a secret key that only your store knows. The code proves that your store made the link. - The link opens only the order it was made for. A link with a changed order ID or code does not work. See When a link does not work.
- Anyone who has the link can open the page. The page shows no name, address, email address or payment details.
How shoppers get the link
EverShop puts the link in three of the order emails. See The order link in emails.
| Button | |
|---|---|
| Order confirmation | View your order opens the tracking page. |
| Shipment | View your order opens the tracking page. When the carrier has its own tracking page, the email shows Track shipment instead. It opens the carrier's page. |
| Delivery | View your order opens the tracking page. |
The emails go out only when your store can send emails. See Set Up Email Sending. The shipment email goes out only when Notify customer is on. See Ship an Order.
What the tracking page shows
The page always shows the current state of the order. A shopper can open the link from the first email weeks later and see the new shipments. This is the tracking page of order #10001 in the demo store, a delivered order of Olivia Bennett:
- The order number and the date of the order.
- The shipment status, such as Delivered, and the order status, such as Completed. For the meaning of each status, see Order, Payment and Shipment Statuses.
- Shipments: one box for each shipment. A box shows the shipment number and status, the carrier, and the tracking number when the shipment has one. It lists the items in the shipment with their quantities. It ends with the date the shipment was shipped, delivered or canceled. Track shipment → opens the carrier's tracking page, when the carrier has one.
Before you ship the order, Shipments says "No shipments yet — your order is being prepared." An order shipped in two parts shows two boxes. See Ship an Order.
The browser tab and the breadcrumb show Track your order.
How long a link works
A tracking link works for 90 days after EverShop made the email. Each email gets its own link, with its own 90 days. For example, the link in the delivery email works for 90 days after the shipment is marked delivered. It still works when the link in the order confirmation has expired.
After 90 days, the page shows "This tracking link has expired" and "Tracking links are good for a limited time. Sign in to your account to see the current status of your order."
A developer can change the number of days with the setting oms.tracking.anonymousTokenTtlDays in the store's configuration file. A change applies to the links in new emails only. Links that were already sent keep their end date.
When a link does not work
When EverShop cannot check a link, the page shows "This tracking link is no longer valid":
This happens when:
- The shopper copied only a part of the link, or changed it.
- The address has no code, such as
/orders/<order ID>/trackalone. - A developer changed or removed the secret key of your store. Then every tracking link sent before stops working. See When the tracking link is not set up.
Sign in to view your orders leads to the Orders list in the shopper's account. The shopper signs in first. Only orders placed while signed in are there. A guest has no account, so a guest who cannot open a link needs your help. Find the order in Sale › Orders by its number or the guest's email address. Then tell the guest its status. See Find and Filter Orders.
When the tracking link is not set up
The tracking links need a secret key on your server: the environment variable ORDER_TRACKING_TOKEN_SECRET. EverShop makes the code of each link with this key. A developer or your host sets it.
Without the key, the order emails link to the order's page in the customer's account instead, at /account/orders/<order ID>:
- A customer who placed the order while signed in can open it after signing in. See One order's page.
- A guest has no account, so the link does not work for guests.
- Tracking links sent before the key was removed show "This tracking link is no longer valid".
Set the key once, and keep it. A new key makes every tracking link sent before stop working.
Customers with an account
A customer who orders while signed in can also follow the order in My account, on the Orders tab. The order's page there shows the same statuses and shipments. It also shows each item with its price, and the order totals. See Order history.
How admin settings change it
| Setting | Where | Effect on the storefront |
|---|---|---|
Secret key ORDER_TRACKING_TOKEN_SECRET | The server's environment variables, set by a developer or your host | With the key, order emails link to the tracking page. Without it, they link to the account's order page. See When the tracking link is not set up. |
Link lifetime oms.tracking.anonymousTokenTtlDays | The store's configuration file, set by a developer | The number of days a new link works. The default is 90. See How long a link works. |
| Email sending | An email extension, or EverShop Cloud | Without email sending, shoppers get no emails, so no links. See Set Up Email Sending. |
| Notify customer | The Create shipment dialog on the order page | When off, the shopper gets no shipment email for that shipment. See Ship an Order. |
Questions shoppers ask
Why does the tracking link say it has expired?
The link comes from an email that is more than 90 days old. A newer email about the same order, such as the delivery email, has a newer link. A customer with an account can sign in and open the order in My account. A guest needs your help: see When a link does not work.
Why does View your order ask the shopper to sign in?
The tracking link is not set up on your server, so the email links to the account's order page. See When the tracking link is not set up. Ask your developer or host to set the key. Emails sent after that use the tracking page. Emails already sent keep their old link.
Next steps
- Customer AccountsWhat shoppers with an account see and do.
- Order Emails Your Customers GetEvery email about an order, and when it is sent.
- Ship an OrderCreate the shipment that shows on the tracking page.
- Order, Payment and Shipment StatusesWhat each status on the tracking page means.
For developers
The ORDER_TRACKING_TOKEN_SECRET environment variable is listed in the Production Checklist. To set oms.tracking.anonymousTokenTtlDays, see the Configuration Guide.