Blog Archive

USPS Tracking number link url - html sample code

If you have the USPS Tracking Number and want to put a direct link for users on your website to click and see the tracking details then put the following code your web page and merge the tracking number

Example Code for USPS Tracking

<a href="http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum={tracking_number}"  
 target="_blank">
        {tracking_number}
</a>
Replace {tracking_number} with actual USPS tracking Number