Title: tracking # integration
Last modified: August 21, 2016

---

# tracking # integration

 *  [perrodin](https://wordpress.org/support/users/perrodin/)
 * (@perrodin)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tracking-integration/)
 * Is there a way to integrate adding the tracking # to the automated confirmation/
   order shipped email?
 * [https://wordpress.org/plugins/easyshipper/](https://wordpress.org/plugins/easyshipper/)

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

 *  [karagamber](https://wordpress.org/support/users/karagamber/)
 * (@karagamber)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tracking-integration/#post-4674101)
 * We have everything running nicely (thank you for everything!), however, we have
   the USPS tracking plugin installed and wondered if there was a way to have it
   populate the tracking number when it generates the label. Before easypost, we
   tried usps label and when it generated a label it did add the tracking info (
   but no postage on the label).
 * As of right now, we go to easypost.com and copy and paste from our account. The
   label is a png so there’s no copy/paste from admin.
 * Thoughts? Anyone?
 *  [avariel](https://wordpress.org/support/users/avariel/)
 * (@avariel)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tracking-integration/#post-4674130)
 * I know this is an old thread, but I did come up with a workaround for this. I
   don’t know of a way to add it to the default woocommerce order complete email,
   but you can easily add it as an order note that the customer can see from the
   my account -> view order page, and they will also get an email.
 * So what ends up happening, is a customer places an order, easypost updates that
   order with an order note, and the customer gets two emails: one confirming their
   order, and one notifying them that a note has been added to their order, which
   will show their tracking number.
 * Add this code to easypost_shipping.php after shipment->buy
 * `$order->add_order_note(sprintf("Track Your Package: '%s'", $shipment->tracking_code),
   1);`
 *  [abeasley54](https://wordpress.org/support/users/abeasley54/)
 * (@abeasley54)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/tracking-integration/#post-4674137)
 * Just tried your snippet and it works like a charm avariel. Thanks

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

The topic ‘tracking # integration’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easyshipper.svg)
 * [EasyShipper - EasyPost Integration for WooCommerce](https://wordpress.org/plugins/easyshipper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easyshipper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easyshipper/)
 * [Active Topics](https://wordpress.org/support/plugin/easyshipper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easyshipper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easyshipper/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [abeasley54](https://wordpress.org/support/users/abeasley54/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/tracking-integration/#post-4674137)
 * Status: not resolved