AfterShip

AfterShip

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect AfterShip to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your AfterShip API key to pull your shipment tracking data into the PostHog Data warehouse.

You can create a key in the AfterShip admin under Settings → API keys.

AfterShip's tracking search only reaches back 120 days, so a sync covers your last 120 days of shipments.

Configuration

OptionTypeRequired
API keypasswordYes

Linking AfterShip to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select AfterShip
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
trackings

A shipment AfterShip is tracking, including its current delivery status, origin and destination, estimated delivery dates, and the full checkpoint history reported by the carrier.

Incremental, Full refreshupdated_at, created_at
couriers

A carrier activated on your AfterShip account, with the extra fields it needs to track a shipment and the countries it serves.

Full refresh
courier_connections

A carrier account you connected to AfterShip so it can pull tracking updates directly from that carrier. The stored carrier credentials are dropped during sync and never land in the warehouse.

Full refresh