Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • YouTube Channel
  • Most Popular
  • Newsletter!
  • Ask Me A Question
  • Meet Dave
  • Home
  • HTML & Web Page Design
  • Add a FedEx Tracking Box to your Web Site?

Add a FedEx Tracking Box to your Web Site?

August 9, 2017 / Dave Taylor / HTML & Web Page Design / 3 Comments

We ship exclusively through FedEx and my boss wants me to add a FedEx tracking box to our site. How the heck do I accomplish that?

  CLICK TO GET DAVE'S FREE NEWSLETTER! 
Guaranteed to Make you Smarter.

If you’re a shipping partner with Federal Express or have a tight integration of FedEx shipping with your online shopping solution (Shopify, for example) then that should be a simple matter of some plug-and-play code or a plug-in you can install. In fact, you might already have it, you’ve just never enabled the feature!

Assuming you do not, however, and that you manually ship products and then email customers their tracking number by hand, you’ve got a little bit of coding you’ll need to do. Fortunately, it’s pretty easy since FedEx has a well-designed site and it’s easy to understand how tracking works with just a bit of code analysis…

As always, to start head to the site and let’s understand what FedEx is doing when it tracks a package. To make this easier, you can copy and paste the tracking number 1111111111 which turns out to be an internal testing number. Neat, eh?

The search box on the page looks like this:

fedex track a shipment

Enter that test tracking number and you’ll find that it really works in the system. In fact, here’s the deliver info:

fedex tracking number - delivery info

Not only that, there’s a transit trail you can see too:

transit - fedex delivery

But, ummm, let’s get back on track, shall we?

What’s important on this page is the URL, the address of the tracking information page, given a tracking number. You can find that on the address bar of your Web browser. Here’s what you get for the 111 number:

fedex tracking number url

Now we can unwind the URL and turn it into a Web form. But before we do that, realize you can replace the 1111 sequence with any tracking number and now you have a clickable link you can put in an email that lets people easily see the status of their product from your company. Let’s say your tracking number was 1234567899, that means this URL would be a one-click tracking link:

https://www.fedex.com/apps/fedextrack/index.html?tracknumbers=1234567899

Easily done, right? But let’s turn this into a form instead. In HTML there are two types of forms, “get” and “post”, the former being what produces URLs that have “?” followed by name=value pairs. Like what we have from FedEx!

So here’s our basic FedEx tracking form:

<form method=”get” action=”https://www.fedex.com/apps/fedextrack/index.html”>

Enter FedEx Tracking Number:

<input type=”text” name=”tracknumbers” />

<input type=”submit” value=”Track!” />

</form>

Yes, it’s that easy. The result when actually formatted is this mini form:

   Enter FedEx Tracking Number:

Try it with the 11111111111 tracking number, it works!

Now there’s more you can do to make the form fancy, including a graphical button or rounding the edges of the input box to match your site design, but that’s the basic. Want to have the tracking page open up a new window in the browser? Add target=”_blank” to the FORM tag.

Now go implement!

About the Author: Dave Taylor has been involved with the online world since the early days of the Internet. Author of over 20 technical books, he runs the popular AskDaveTaylor.com tech help site. You can also find his gadget reviews on YouTube and chat with him on Twitter as @DaveTaylor.

Let’s Stay In Touch!

Never miss a single article, review or tutorial here on AskDaveTaylor, sign up for my fun weekly newsletter!
Name: 
Your email address:*
Please enter all required fields
Correct invalid entries
No spam, ever. Promise. Powered by FeedBlitz
Please choose a color:
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!
fedex, fedex tracking, html, online shopping, reverse engineering, track shipping

3 comments on “Add a FedEx Tracking Box to your Web Site?”

  1. Jacob says:
    May 30, 2019 at 7:10 am

    Hi , this code is helpful . But how can we get the result in our own page ? Do you have any code

    Reply
    • Dave Taylor says:
      May 30, 2019 at 9:41 am

      Pulling results from another page and embedding it in your page can be done with something like an iframe, but it often involves some coding, which is a bit beyond the scope of my site. Good luck! 🙂

      Reply
  2. syed ali says:
    April 6, 2018 at 12:25 am

    Hello, this is helpful information but what I was looking for is something different.

    after reaching the fedex page on submit as you have done. I want to store the information in my database how can I accomplish that?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Recent Posts

  • Fix a B&N Nook Android Tablet with the Wrong Time
  • How to Make App Icons Bigger on a Samsung Galaxy Phone
  • How to Fix the Location of an iPhone Photograph
  • Reformat a USB Flash Drive from ExFAT to NTFS in Win11?
  • Share Contact Info Cards Between iPhone and Android?

On Our YouTube Channel

The Easy to Use ClonerAlliance UHD Pro 4K Video Recorder

A Beautiful Listen: The Onkyo Creator Series GX-30ARC Powered Monitors

Categories

  • AdSense, AdWords, and PPC Help (106)
  • AI and ChatGPT Help (57)
  • Alexa, Kindle, and Nook Help (106)
  • Amazon, eBay, and Online Shopping Help (172)
  • Android Help (297)
  • Apple iPad Help (156)
  • Apple Watch & Smartwatch Help (63)
  • Articles, Tutorials, and Reviews (361)
  • Auto Tech Help (26)
  • Business Advice (202)
  • Chromebook & ChromeOS Help (74)
  • Computer & Internet Basics (834)
  • d) None of the Above (170)
  • Facebook Help (397)
  • Google, Chrome & Gmail Help (215)
  • HTML & Web Page Design (249)
  • Instagram, Bluesky & Threads Help (65)
  • iPhone & iOS Help (693)
  • iPod & MP3 Player Help (173)
  • LinkedIn Help (95)
  • Linux Help (182)
  • Linux Shell Script Programming (93)
  • Mac & MacOS Help (980)
  • Most Popular (16)
  • Outlook & Office 365 Help (49)
  • PayPal Help (69)
  • Pinterest Help (58)
  • Reddit Help (23)
  • SEO & Marketing (83)
  • Spam, Scams & Security (123)
  • Trade Show News & Updates (23)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (1,060)
  • Wordpress Help (207)
  • Writing and Publishing (72)
  • X/Twitter Help (230)
  • YouTube Help (52)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (75)

Archives

Social Connections:

Ask Dave Taylor


Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook



microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2025 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Stories, LLC.
FTC Notice: If you buy products through links on this site we may receive a modest affiliate commission. This won’t affect the price you pay.
Privacy Policy - Terms and Conditions - Accessibility Policy - Humix Video Content
  • Home
  • YouTube Channel
  • Most Popular
  • Newsletter!
  • Ask Me A Question
  • Meet Dave