AfterShip

AfterShip

AfterShip is a shipment tracking and returns management platform used by ecommerce brands. Scripts embed order tracking widgets on websites and send post-purchase notifications with carrier tracking updates. Tracking page views and delivery milestone events are logged for post-purchase experience analytics.

Overview

AfterShip is a post-purchase experience platform used by thousands of e-commerce merchants worldwide. It provides branded shipment tracking pages, proactive delivery notifications, and a returns management workflow. Its JavaScript is embedded on merchant storefronts and dedicated tracking portals to render real-time parcel status and capture delivery feedback.

What This Script Does

Tracking Widget

AfterShip's embeddable tracking widget loads from aftership.com CDN assets and communicates with AfterShip's API using the merchant's public API key to retrieve shipment status by tracking number. The widget renders carrier events, estimated delivery dates, and a map visualization of parcel movement.

Returns Center Widget

For merchants using AfterShip Returns, a second script component renders the returns initiation flow. It reads order data from the page context, validates return eligibility against merchant rules, and initiates return label generation via the AfterShip Returns API.

Cookies Set

  • _aftership_uid — First-party persistent cookie. Stores an anonymous visitor identifier used for session continuity on tracking pages. Duration: 1 year.
  • _aftership_session — First-party session cookie. Stores the active tracking session token. Duration: session.
  • aftership_lang — First-party persistent cookie. Stores the visitor's detected locale for the tracking page. Duration: 30 days.

Domains Contacted

  • api2.aftership.com — AfterShip's primary REST API. Tracking and returns widget requests are sent here using the merchant's public API key.
  • cdn.aftership.com — CDN serving the widget JavaScript, CSS, and localization assets.
  • pusher.com — Real-time WebSocket push notifications for live tracking updates are relayed through Pusher channels.

Data Collected Per Interaction

  • Tracking number entered by the visitor
  • Carrier and shipment route data fetched from AfterShip's carrier aggregation layer
  • Page URL and referrer of the tracking page
  • Visitor IP address (used for geolocation and locale detection)
  • Browser language preference
  • Return reason codes and condition selections when a return is initiated
  • Return shipment destination and label generation events

Consent & Compliance

GDPR / ePrivacy: AfterShip processes personal data (name, address, order ID) linked to shipment tracking on behalf of the merchant (acting as data processor). The shipment tracking itself serves a functional purpose directly requested by the end user. Session and language cookies are also functional. Because this processing is part of fulfilling a contract with the purchaser, it qualifies under GDPR Article 6(1)(b) (performance of a contract) without requiring separate consent, provided the merchant's privacy policy discloses AfterShip as a sub-processor.

CCPA / CPRA: AfterShip processes personal information (name, address, purchase details) as a service provider under a merchant-imposed data processing agreement. This does not constitute a sale under CCPA. Merchants must disclose AfterShip in their privacy policy under the service provider category.

EU-US Data Privacy Framework: AfterShip is incorporated in Hong Kong with US infrastructure. Merchants operating under GDPR should confirm appropriate transfer mechanisms (Standard Contractual Clauses) are in place via AfterShip's DPA.

Consent Category: Functional. No marketing or advertising profiling is performed by the AfterShip script.

Should You Block This Without Consent?

No. AfterShip's tracking and returns widgets are functional scripts that process data solely for delivering a service explicitly requested by the user (tracking their own order or initiating a return). They do not place advertising cookies or build behavioral profiles for third-party use. Blocking them would degrade the post-purchase experience without a consent-related justification.

Is AfterShip GDPR compliant?

AfterShip typically loads functional trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So AfterShip can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads AfterShip, not on AfterShip itself.

Visit website

Products (1)

Consent Categories

Also Known As

AfterShipshipment trackingorder tracking widgetreturns managementpost-purchase analyticsecommerce tracking

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (2)

aftership.comFunctional

aftership.com is a functional domain operated by AfterShip, used to run site features like chat, video, embeds, and preferences.

automizely.comFunctional

automizely.com is a functional domain operated by AfterShip, used to run site features like chat, video, embeds, and preferences.

Cookies AfterShip Sets (1)

aftership_uid

AfterShip visitor identifier for shipment-tracking page personalization.

Frequently Asked Questions

Related Vendors

AfterShip Returns Center
AfterShip Returns Center
AfterShip Returns Center is an order returns management platform for e-commerce retailers. Scripts embed self-service return initiation portals and returns tracking interfaces on online store websites. Sets cookies to authenticate shopper sessions and track return request status through resolution.
Recurly
Recurly
Recurly is a subscription billing and revenue management platform. Scripts load hosted payment pages and checkout flows on subscription business websites, handling plan selection and payment collection. Sets cookies to manage checkout sessions and detect duplicate submissions during billing.
Birdeye
Birdeye
Birdeye is a customer experience and reputation management platform. Scripts embed review display widgets, chat interfaces, and feedback forms on business websites to capture and showcase customer sentiment. Tracks user interactions and form submissions, setting cookies for session management and engagement attribution.
Chili Piper
Chili Piper
Chili Piper is a B2B demand conversion platform used by sales and revenue teams for instant meeting booking from web forms. Scripts intercept form submissions, qualify leads in real time, and immediately route prospects into a scheduling flow with the right sales rep. Booking and routing data integrates with Salesforce and HubSpot for pipeline attribution.
Rippling
Rippling
Rippling is a workforce management platform covering HR, IT, and finance operations. Scripts may embed career site widgets and job application forms on corporate websites, enabling candidate submissions and tracking. Sets cookies to monitor applicant funnel and attribution for recruiting campaigns.
Monotype Imaging
Monotype Imaging
Font technology company providing professional web font delivery. Monotype's Fonts.com and Fontspring delivery scripts load typeface assets from their CDN. CDN access logs may record visitor IPs for billing purposes, but no behavioral tracking cookies are set.

Manage consent for AfterShip

ConsentStack automatically detects and manages AfterShip trackers so your site stays compliant with global privacy regulations.