On this page
What this issue is
After you ship an order, most stores email the customer a tracking number with a link to the carrier's tracking page. The link is broken when it opens a 404 page, a blank carrier page, the wrong carrier, or a page that says the number is not found.
Common causes are a carrier URL that has changed, a missing or misspelled carrier name, a tracking number with spaces or a wrong prefix, a template placeholder that is not filled in, and links rewritten by an email tool.
Why it costs you leads or sales
The direct damage is low, because the parcel still arrives. The indirect cost is real: customers who cannot track a parcel contact support, doubt your store and are less likely to buy again or leave a good review.
Example: illustrative numbers showing how a broken tracking link can raise where-is-my-order contacts.
- Order shippedTracking number added
- Shipping email sentContains the link
- Customer clicks link404 or wrong carrier
- Parcel status seenNever reached
- Customer trusts youEmails support instead
The order ships fine, but the customer cannot follow it.
How to check if your site has it
Place and ship a test order
Use your own email address and add a real tracking number from a recent shipment for each carrier you use.
Open the shipping email
Click the tracking link in the email on desktop and on your phone.
Check the destination
Confirm the page is the right carrier and shows the number, not an error or an empty search box.
Check the order page too
Log in as the customer and open the order status page. Test the link there as well.
Look at the raw URL
Hover over the link. Look for leftover placeholders such as {tracking_number}, spaces, or a wrapper from an email tool.
How to fix it
Check the shipment tracking tool
In WooCommerce, open the order and look at the tracking box added by your shipment tracking plugin or shipping service. Make sure the provider is selected, not set to custom with an empty URL.
Fix the custom URL
If you use a custom provider, set the URL with the number placeholder your plugin documents, for example the carrier URL ending in the tracking number.
Resend the email
Use Order actions to resend the completed order or shipping email and test the link.
Open the fulfilment
In Orders, open the order, then edit the tracking details of the fulfilment.
Pick the carrier
Choose the correct carrier from the list so Shopify builds the link. If the carrier is not listed, choose Other and paste the full tracking URL.
Check the notification template
In Settings, Notifications, open the shipping confirmation template and check the tracking link variables were not edited by hand.
Store the carrier and number separately
Keep a carrier code and a clean number. Trim spaces and strip dashes where the carrier requires it.
Build the URL from a template
Keep one map of carrier code to URL template and encode the number before inserting it.
Fall back safely
If the carrier is unknown, show the number as plain text rather than a dead link.
const templates = {
'royal-mail': 'https://www.royalmail.com/track-your-item#/tracking-results/{n}',
'ups': 'https://www.ups.com/track?tracknum={n}',
'dhl': 'https://www.dhl.com/global-en/home/tracking.html?tracking-id={n}'
};
function trackingUrl(carrier, number) {
const t = templates[carrier];
if (!t || !number) return null;
const clean = number.replace(/\s+/g, '');
return t.replace('{n}', encodeURIComponent(clean));
}How to confirm it's fixed
- The link in the shipping email opens the correct carrier page
- The page shows your test number, not an error or empty search
- The link works on desktop and mobile
- The order status page link works too
- The raw URL has no placeholders, spaces or wrapper redirects
- Each carrier you use has been tested at least once
How to prevent it happening again
Pick the carrier from a list instead of typing it, and avoid pasting URLs by hand. Test one shipment per carrier after any theme, plugin, email template or carrier change. Review your carrier URL templates a few times a year.
| Symptom | Likely cause | Fix |
|---|---|---|
| 404 page | Old carrier URL | Update the URL template |
| Number not found | Spaces or wrong format | Clean the number before use |
| Wrong carrier | Wrong provider selected | Choose the right carrier |
| Placeholder in URL | Template variable not filled | Fix the template variable |
| Redirect to a tracker page | Email tool link wrapping | Check link tracking settings |
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. FunnelGuard runs customer journeys such as lead forms, checkouts and booking buttons, and checks tracking hits and test leads. A tracking link appears only after a real order ships, so it needs a different kind of tool.
The kind of tool that fits is an email and order-data testing process: a shipping or order-tracking app that validates carriers and numbers, plus a link checker you run on the emails you send to a test inbox. FunnelGuard can still cover the checkout journey and test lead delivery earlier in the funnel.
Frequently asked questions
Questions people ask
Why is my tracking number link not working?
Usually the carrier URL template is outdated, the wrong carrier is selected, or the tracking number has spaces or a wrong format. Open the raw link in the shipping email and compare it with the carrier's current tracking page.
Why does my tracking link go to the wrong carrier?
The order was saved with the wrong carrier or provider, or a custom provider points to another site. Edit the tracking details on the order, pick the correct carrier and resend the email.
How do I fix a tracking link in Shopify?
Open the order, edit the fulfilment tracking details and choose the correct carrier. If the carrier is not listed, choose Other and paste the full tracking URL, then check the shipping confirmation template.
How do I fix a tracking link in WooCommerce?
Check the tracking box on the order, set the right provider or a correct custom URL, then resend the shipping email from Order actions. The exact fields depend on your shipment tracking plugin.
Why does the tracking link say number not found?
The carrier may not have scanned the parcel yet, or the number was entered with spaces, dashes or a missing prefix. Wait a few hours after the label is created and re-check the number format.
Can I check tracking links automatically?
Yes, with a link checker or an order-testing process that sends real test shipments to a test inbox. FunnelGuard does not check this, since it tests lead and checkout journeys.
Does a broken tracking link affect sales?
Not directly, but it raises support contacts and can reduce repeat purchases and reviews. The impact is usually low but easy to avoid.
Related issues
- DLV-169Shipping confirmation email not sentFix guide
- DLV-171Order not exported to fulfilment/3PL/ERPFix guide
- DLV-167Order confirmation shows wrong totals, tax or currencyFix guide
- DLV-179Admin new-order email not sent to the store ownerFix guide
- DLV-160Order not created in the store after test purchaseFix guide
- DLV-161Payment captured but order missing (webhook from Stripe/PayPal failed)Fix guide