Have you ever wanted to drop a UPS order tracking code link into your website (for orders) or email to customers, to allow them to “click here to track your order” and were wondering how to format this link?
Well, wonder no more with a simple tutorial describing how to make exactly that!
Sample Code – Adding UPS Tracking Code to Links
Obviously, you should replace the [YOURTRACKINGCODE] with an actual tracking code, ideally one your stored from the UPS API when you auto-generated the order, right 😉
I posted this as it took me a little while to track down the correct URL for this when I needed it last. Hope it helps you. If it does, leave a comment!
Additional Update – using your own UPS Tracking Code!
Have you landed in here looking for somewhere online to input your own UPS tracking code? If so, then I’ve made a tool for you below, which uses the formula above to shoot you over, magically, to the UPS website and track your parcel. Because… well, we noticed that a lot of people were landing here searching for UPS tracking, and figured that, actually, maybe a lot of you actually wanted to track a parcel, rather than working as developers to make UPS tracking links (which is described above).
- Copy this link: https://wwwapps.ups.com/tracking/tracking.cgi?tracknum=[YOURTRACKINGCODE]
- Where it says [YOURTRACKINGCODE] insert your tracking number.
- Visit the full link with your tracking number inserted…
There you’ll find your parcel information. Done!
Want assistance setting up tracking codes on WooCommerce?
If you’d like assistance setting up your WooCommerce store to handle tracking codes in emails and My Account pages, get in touch.