Let your customers track their orders directly on your website
The widget looks up a tracking number in 1000+ carriers and shows the latest three events (date, place and status) with a link to the full history on parcelsapp.com. It is free and needs no account or API key.
Paste this code where the widget should appear. That's all: the widget takes the width of its container, and the small script makes the frame exactly as tall as its content (taller when a parcel is shown, shorter when it is empty).
<iframe src="https://parcelsapp.com/widget?autoHeight=1"
title="Parcel tracking" loading="lazy"
style="width:100%;height:220px;border:0;"></iframe>
<script async src="https://parcelsapp.com/widget/embed.js"></script>
Prefer a fixed size, or cannot add scripts? Use the iframe alone and give it any width and height. The widget adapts to the space it gets: in small frames (from about 280×200 px) it switches to a compact one-line-per-event view, in large ones it shows a roomy timeline. If the content does not fit, it scrolls inside the frame.
<iframe src="https://parcelsapp.com/widget"
title="Parcel tracking"
style="width:100%;height:320px;border:0;"></iframe>
Recommended: at least 300×220 px. From about 420 px of height long statuses are shown in full; in lower frames each event takes one line. Existing embeds keep working without changes.
Add options to the iframe address (the
src
attribute) as query parameters. Encode special characters, e.g.
#
as
%23
and spaces as
%20.
| Option | What it does | Example |
|---|---|---|
lang
|
Widget language: en, ru, de, es, fr, it, pt, nl, sv, id, ko, ja. By default the visitor's browser language. |
lang=es
|
theme
|
light
(default, transparent background),
dark
or
auto
(follows the visitor's system setting).
|
theme=auto
|
accent
|
Main colour: button, latest event and links. |
accent=%232b6cb0
|
background
|
Background colour of the widget. |
background=%23ffffff
|
textColor
|
Text colour. |
textColor=%23222222
|
font
|
Font family (fonts installed on the visitor's device). |
font=Georgia,serif
|
autoHeight
|
1
— report the content height to your page; works together with
embed.js.
|
autoHeight=1
|
trackingNumber
|
Pre-fill the field with a tracking number. |
trackingNumber=YOUR_NUMBER
|
autoTrack
|
1
— look the pre-filled number up as soon as the widget opens (e.g. on an order page).
|
autoTrack=1
|
textButton
|
Button text. |
textButton=Find
|
placeholder
|
Hint inside the empty field. |
placeholder=Order%20tracking%20number
|
colorButton
|
Button text colour. |
colorButton=%23ffffff
|
backgroundColorButton
|
Same as
accent
(older name).
|
backgroundColorButton=green
|
borderButton,
borderRadiusButton
|
Button border and corner radius. |
borderRadiusButton=0
|
fontButton,
fontSizeButton
|
Button font (CSS shorthand) and size. |
fontSizeButton=16px
|
borderInput,
borderRadiusInput
|
Field border and corner radius. |
borderInput=1px%20solid%20%23999
|
widgetWrapBorder,
widgetWrapBorderRadius
|
Border and corner radius around the whole widget. |
widgetWrapBorderRadius=12px
|
Example: blue accent, German texts, own hint, automatic height.
<iframe src="https://parcelsapp.com/widget?autoHeight=1&accent=%232b6cb0&lang=de&placeholder=AWB%20or%20tracking%20number"
title="Parcel tracking" style="width:100%;height:220px;border:0;"></iframe>
<script async src="https://parcelsapp.com/widget/embed.js"></script>
Is it free? Yes. Please keep the small "Powered by parcelsapp.com" line.
Which carriers are supported? The same 1000+ postal services and couriers as on parcelsapp.com; the carrier is detected automatically from the number.
Does it work on phones? Yes. The widget is responsive and works in all current browsers.
I need the data in my own system. Use the Parcels API instead of the widget.