Set up automatic tracking emails when orders ship

WooCommerce does not send tracking emails automatically out of the box. You need either a shipping plugin that includes this feature, or you need to configure WooCommerce's built-in email system to trigger when you mark an order as shipped. The simplest path is to use a shipping plugin like WooCommerce Shipment Tracking (free) or Aftership, which handle both the tracking number storage and the automatic email in one place.

If you want to use only WooCommerce's native tools, you can create a custom email template that fires when an order status changes to "completed" or use a free plugin like WooCommerce Email Customizer to add tracking information to existing emails. The trade-off is that you have to manually update the order status each time you ship, whereas shipping plugins often sync with your carrier and update automatically.

Key Takeaways

  • WooCommerce Shipment Tracking is the free official plugin that stores tracking numbers and sends automatic emails when you add a tracking number to an order.
  • You must manually add the tracking number to each order in the WooCommerce admin, or connect a shipping plugin that syncs with your carrier.
  • The tracking email template can be customized to show the carrier name, tracking link, and estimated delivery date.
  • Third-party services like Aftership and Shippo integrate with WooCommerce and can pull tracking data directly from your carrier without manual entry.

Install and set up WooCommerce Shipment Tracking

Go to your WordPress admin dashboard. Click Plugins in the left menu, then click Add New. Search for "WooCommerce Shipment Tracking" and click Install Now on the official plugin by Automattic. After installation finishes, click set up.

Once activated, the plugin adds a new section called Shipment Tracking to the order details page. You will see it below the order items when you open any order in your WooCommerce admin. The plugin also creates a new email template that sends to the customer whenever you add a tracking number.

Add a tracking number to an order

Open any order in your WooCommerce admin by going to Orders and clicking the order number. Scroll down to the Shipment Tracking section. Click Add Tracking Number. A form will appear asking for the carrier name, tracking number, and date shipped.

Select the carrier from the dropdown menu — options include USPS, UPS, FedEx, DHL, and others. Enter the tracking number in the text field. The date shipped will default to today, but you can change it if you shipped earlier. Click Add Tracking. The customer will receive an automatic email with the tracking information within a few minutes.

If you ship through a carrier that WooCommerce Shipment Tracking does not list, you can still add a custom carrier name. Select "Other Carrier" from the dropdown and type the carrier name in the field that appears. The email will include whatever carrier name you enter.

Customize the tracking email template

The tracking email template is controlled through WooCommerce's email settings. Go to WooCommerce in the admin menu, then Settings, then the Emails tab. You will see a list of email types, including one called Shipment Tracking. Click on it.

The email settings page lets you change the subject line, heading, and email body. You can use placeholder tags like [order_number], [customer_name], [tracking_number], and [tracking_link] to insert dynamic information. The tracking link is generated automatically and points to the carrier's tracking page. Save your changes when you are done.

If you want to add a custom message or change the layout significantly, you may need to edit the email template file directly. This requires access to your theme's or plugin's template folder via FTP or your hosting file manager. The template file is usually located at woocommerce/emails/customer-shipment-tracking.php. If you are not comfortable editing files, many hosting providers offer a file manager in the control panel.

Connect a shipping plugin for automatic tracking updates

If you use a shipping plugin like Shippo, Aftership, or EasyPost, you can automate tracking number entry entirely. These plugins connect to your carrier accounts and pull tracking numbers directly when you generate a shipping label. They then push the tracking number into WooCommerce automatically, which triggers the tracking email without any manual work.

To set this up, install the shipping plugin from the WordPress plugin directory or from the service's website. Follow the plugin's setup wizard to connect your carrier accounts (USPS, UPS, FedEx, etc.). Once connected, when you create a shipping label in the plugin, the tracking number is added to the order in WooCommerce automatically. The shipment tracking email fires when ready.

The downside of third-party shipping plugins is that many charge a monthly fee on top of carrier costs. WooCommerce Shipment Tracking is free and works well if you are willing to copy and paste tracking numbers from your carrier's website into each order.

Test the tracking email before shipping real orders

Before you rely on automatic tracking emails, send a test email to yourself. Open any test order in your WooCommerce admin. Add a fake tracking number (you can use any string of numbers). The tracking email will be sent to the email address associated with that order.

Check your inbox and spam folder to make sure the email arrives and looks correct. Verify that the tracking link works and points to the right carrier's tracking page. If the email does not arrive, check your WooCommerce email settings to confirm that the Shipment Tracking email type is enabled. Look for a checkbox labeled "Enable this email notification" and make sure it is checked.

Troubleshoot missing or delayed tracking emails

If customers are not receiving tracking emails after you add a tracking number, the most common cause is that the email notification is disabled. Go to WooCommerce > Settings > Emails and click Shipment Tracking. Confirm that "Enable this email notification" is checked. If it is unchecked, check it and save.

The second most common cause is that your hosting provider is blocking outgoing emails. Test this by sending a test email from WooCommerce's email settings page. Go to WooCommerce > Settings > Emails and look for a "Send Test Email" button. If the test email does not arrive, contact your hosting provider to ask whether they limit outgoing mail or require SMTP configuration.

If emails are arriving but the tracking link is broken or missing, check that the carrier you selected is in WooCommerce's list of supported carriers. If you used a custom carrier name, the link may not generate automatically. You can add a manual link in the email template by editing the template file or by using a custom email plugin.

Frequently Asked Questions

Can I send a tracking email without using WooCommerce Shipment Tracking?

Yes. You can add tracking information to the order notes and create a custom email template that pulls from those notes. However, this requires editing template files or using a third-party email customization plugin. WooCommerce Shipment Tracking is the easiest free method because it stores tracking data in a structured way and sends the email automatically.

What happens if I add a tracking number to an order that already shipped?

The tracking email will still send to the customer. This is useful if you forgot to add the tracking number when you first shipped. The customer will receive the email with the tracking link, even if the package has already been in transit for days.

Can I customize which customers receive tracking emails?

Not directly through WooCommerce Shipment Tracking settings. However, you can disable the automatic email and send tracking emails manually by using a plugin like WooCommerce Email Customizer or by creating a custom workflow. Most stores send tracking emails to all customers, as the information is useful regardless of order size.

Do I need to add tracking numbers for every order, or can I batch add them?

WooCommerce Shipment Tracking does not have a built-in bulk import feature. You must add tracking numbers one order at a time through the admin. If you ship hundreds of orders per day, a third-party shipping plugin like Shippo or Aftership will save time by syncing tracking numbers automatically from your carrier.

What if my carrier is not in the WooCommerce Shipment Tracking dropdown?

Select "Other Carrier" and type the carrier name manually. The email will include the carrier name you enter, but the tracking link will not be generated automatically. You can add a manual link by editing the email template or by asking your carrier for their tracking URL format and adding it to the template.