What it is
The widget puts live tracking on your order-status page: your customer pastes or clicks nothing extra, and the timeline renders inside your site.
Setup
- Open /my/widget (Pro feature — see plans).
- Generate your embed token — it is signed and identifies your account without exposing your API key in the browser.
- Drop the snippet into your page; pass the tracking number per shipment.
The generator gives you two lines — a deferred loader plus a mount point:
``html <script src="https://trackjet.world/widget.js?u=<your-id>&t=<your-embed-token>" async></script> <div data-tj-widget></div> ``
The script is async, so it never blocks your page render, and the t= value is the signed embed token from step 2 — not your API key — so nothing secret ends up in the browser. Rotating the token (below) invalidates that URL immediately.
The widget inherits your page's width and supports light/dark.
Boundaries (honest)
- The widget is read-only: it shows tracking surfaces and events; saving/alerts stay in TrackJet accounts.
- Live event streams exist only where TrackJet holds a licensed carrier feed — elsewhere the widget links to the carrier's official page, clearly labelled.
- Tokens are revocable: rotating the token kills old embeds immediately.