Title: Custom tracking code
Last modified: November 14, 2019

---

# Custom tracking code

 *  Resolved [iglisdavid](https://wordpress.org/support/users/iglisdavid/)
 * (@iglisdavid)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-tracking-code/)
 * Hi
 * I try to insert my custom tracking code but I doesn’t work.
    [https://www.dropbox.com/s/h246ppeda1xi69z/tracking.png?dl=0](https://www.dropbox.com/s/h246ppeda1xi69z/tracking.png?dl=0)
   It give me a red alert around tracking code and freeze the submit button Can 
   you help me pls? Thx

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Zorem](https://wordpress.org/support/users/zorem/)
 * (@zorem)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-tracking-code/#post-12132342)
 * I only see part of the URL you are trying to use, what’s the full URL?
 *  Thread Starter [iglisdavid](https://wordpress.org/support/users/iglisdavid/)
 * (@iglisdavid)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-tracking-code/#post-12132962)
 * [https://www.mbe.it/it/tracking?c=IT0490-1-00000001](https://www.mbe.it/it/tracking?c=IT0490-1-00000001)
 * Is the tracking link of my custom provider
 * Thx
 *  Plugin Author [Zorem](https://wordpress.org/support/users/zorem/)
 * (@zorem)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-tracking-code/#post-12133194)
 * Hi, I just tried to replicate the issue and took another look at your screenshot,
   I see that you try to add the custom provider when you add tracking info to order,
   this is wrong 🙂
 * You need to add your custom provider once in the plugin settings > Shipping providers
   > on the top-right menu you can choose to add custom provider. once you added
   it, you enable it and it will be available as an option in the shipping providers
   dropdown when you add tracking numbers. you’ll just need to choose that custom
   provider and enter the tracking number.
 * Check our documentation for guidelines on how to add a tracking number in the
   tracking URL for a custom shipping provider: [https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider](https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider)
 * Thanks
 *  Thread Starter [iglisdavid](https://wordpress.org/support/users/iglisdavid/)
 * (@iglisdavid)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-tracking-code/#post-12133376)
 * Hi
 * Ok everything clear. But the problem is that my code is IT0490-1-00000001:
    IT0490:
   is a customer code 1: I don’t know 00000001:is a tracking number
 * In your settings there’s:
    %number% postal_code=%postal_code% country_code=%country_code%
 * How can I make it works?
    thx
 *  Plugin Author [Zorem](https://wordpress.org/support/users/zorem/)
 * (@zorem)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/custom-tracking-code/#post-12134081)
 * The way the plgin works is that choose the provider and enter the tracking number,
   the link to track the order that is sent to the customer, is created with the
   shipping provider URL and the tracking number you add to the order.
    for example,
   USPS – their URL to track allow you to use the tracking code to get direct tracking
   info (I added for the example the 123456789 as the tracking number): [https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=123456789](https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=123456789)
   In our pre-defined USPS shipping provider we use this link [https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=%number%](https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=%number%)
 * If your custom shipping provider has a URL to track the shipments on their website
   that contains a tracking number, postal code and/or in the URL to directly display
   the tracking info, you can replace the tracking number in that URL with the %
   number% variable.
    If not, just place the tracking page link in the custom provider
   and do not use the %number% and your user will need to copy the number and paste
   it in the provider tracking page.
 * I hope this helps 🙂
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom tracking code’ is closed to new replies.

 * ![](https://ps.w.org/woo-advanced-shipment-tracking/assets/icon-256x256.png?rev
   =2166296)
 * [Advanced Shipment Tracking for WooCommerce](https://wordpress.org/plugins/woo-advanced-shipment-tracking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-advanced-shipment-tracking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Zorem](https://wordpress.org/support/users/zorem/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/custom-tracking-code/#post-12134081)
 * Status: resolved