Articles on: What's new

Set Up Shipment Alerts on Tracking Page

Plans: All Enterprise Plans Platforms: All platforms


Overview


AfterShip Tracking enables you to add shipment alerts and banners on the tracking page to highlight exceptional events that require customers' attention. These alerts keep customers informed, remind them to take action, and help ensure successful delivery. Instead of customers just checking their order status, they’ll also see timely banners for critical updates, hence reducing “Where is my order?” inquiries and improving the post-purchase experience.


For example, alerts can notify them if:


  • A delivery attempt has failed.
  • A package needs an adult signature.
  • The package is held by customs.


How to set up shipment alerts


To set up shipment alert banners on the tracking page, follow the steps:


  1. Navigate to Tracking pages in the AfterShip Tracking admin.
  2. Open the editor for any tracking page. Go to the Compact tracking info block.
  3. Click Add subblock and choose the Shipment alerts.



Drag and drop the subblock (alert banner) to adjust the display at position you prefer on the Route.


  1. Click Add and go to the Settings tab (on the right).
  2. Under Rule, either select an existing rule or click Manage rules to create a new one.



  1. Click Create rule.



  1. For Order, Product, Customer, Shipment, or Custom fields, select +Add condition
  2. Choose whether All conditions or Any condition must be met.



  1. Set the active time for the rule: Always or Specific time window.



  1. Save the conditions and return to the tracking editor.
  2. In the Message box, type the note customers should see when this rule is active.



  1. Switch to the Style tab and choose Info or Warning for the respective alert.



  1. If you add several alerts, adjust their order by dragging them up or down in the list.
  2. Click Save and then use Preview to view how the alert appears on your tracking page.


Setting Conditions


  • When creating rules, you can decide when alerts should appear by setting conditions.
  • Choose the condition type and operator (e.g., delivery status = failed).
  • Depending on how you import shipments into AfterShip, some data may or may not be available for creating rules.


Example 1: Adult Signature Required


Imagine you’re selling items that should not be delivered to minors (like age-restricted products). You want customers to see a clear notice on the tracking page so they know someone over 18 must sign for the delivery.


How to set it up:


  1. Create Rule ‘Adult Signature Required’.
  2. Select the category, say 'Product', and click '+' Add condition.
  3. Select a condition, e.g., Product tag = Sensitive. (This product tag must be added to your product in Shopify.)
  4. Type a message in the Message box. Eg.: “This package requires an adult signature upon delivery.”
  5. Select Info as style (since this is an important notice, not an urgent issue).
  6. Save and test.


Example 2: Failed Delivery Attempt


Let’s say the courier has already tried delivering the package, but no one was available. You want customers to see an urgent alert so they can quickly take action before it is returned to sender.


How to set it up:


  1. Create a rule ‘Failed Delivery Attempt’ > + Add condition.
  2. Choose a condition like Shipment status = Failed attempt.
  3. In the Message box, type: “Delivery attempt failed. Please contact your courier to reschedule.”
  4. Choose Warning style (to show it as a strong alert that needs attention).


You can set multiple Shipment alerts and banners for each shipment.


Supported conditions


Category

Condition

Order

Total billing amount

Tags

Order number

Product

SKU

Product type

Product collection

Product tags

Customer

State

Postal code

Country/region

Customer tag

Customer role

Shipment

Carrier

Destination state

Destination Country/region

Destination postal code

Shipment tag

Shipment title

Shipment requirement

Failed attempts

Historical events

Latest events

Custom Fields

Customize according to need


Always test your rules before going live to make sure the right alerts show up for the right scenarios.


Additional considerations


  • The alerts you can create depend on the shipment data shared with AfterShip. Some carriers may not provide all conditions (like “Failed attempt”).
  • If you set up more than one alert or banner, organize them by priority so the most important message shows at the top.
  • Use Info style for general information and Warning style for critical alerts that require customer immediate attention.


FAQs


Q. Can I create different alerts for different carriers?


Yes. You can set conditions like “Carrier = DHL” or “Carrier = FedEx” and customize messages for each. The alert will only appear when that carrier is handling the shipment.


Q. What if multiple alerts are active for the same shipment?


You can adjust the sequence of the alerts in the editor by dragging them up or down based on their priorities. Place the most important message at the top.


Q. Are shipment alert messages available in multiple languages?


Yes. Since the tracking page can operate in multiple languages, shipment alerts will also align with the language selected for the tracking page, ensuring customers see messages in their preferred language.


Q. Will shipment alerts show for every order/product?


No. Alerts will only display when the applied conditions are fulfilled.

Updated on: 18/09/2025