Help Center › Codes › GTIN codes & GS1 Digital Link
GTIN codes & GS1 Digital Link
A GTIN code puts your product's GTIN into a QR code in the GS1 Digital Link format: phones open your product page, and compatible checkouts can read the GTIN.
A GTIN code links your product's barcode number with a web address. Tagvio builds it in the GS1 Digital Link format – an open standard. Tagvio is compatible with GS1 Digital Link; it is not a GS1 service and is not certified by GS1.
What is a GTIN?
The GTIN (Global Trade Item Number) is the number under the barcode on your product. The well-known EAN-13 is a GTIN with 13 digits, the UPC from North America has 12. There are also GTIN-8 for small packs and GTIN-14 for outer cartons.
- You bring the GTIN. Tagvio never assigns or sells GTINs. You get them from the GS1 organisation in your country, usually with a membership. If your product already has a barcode, its GTIN is printed below it.
- Check digit: the last digit is calculated from the others. Tagvio checks it. If you mistype a digit, you see e.g. This GTIN is invalid. The check digit should be 2.
- GTIN-14: GS1 Digital Link always uses 14 digits. Tagvio pads shorter GTINs with leading zeros.
9506000134352becomes09506000134352. It is the same number. - Internal numbers are rejected: numbers for use only inside a company or store are not GTINs – e.g. EAN-13 starting with 2 (often on scale labels for loose goods), UPC starting with 2 or 4, EAN-8 starting with 0 or 2. GS1 does not allow them in a Digital Link code. Tagvio shows This is an internal store number … and asks for the GTIN from your product's barcode.
How the address is built
A GTIN code contains a web address with this path:
https://go.tagvio.app/01/09506000134352
https://go.tagvio.app/01/09506000134352/10/{batch}
https://go.tagvio.app/01/09506000134352/21/{serial}
/01/is followed by the GTIN-14./10/is followed by a batch or lot number (optional)./21/is followed by a serial number (optional). Tagvio creates signed serial numbers on the Authenticity tab – see Serial numbers.
Values may contain letters, digits, hyphen, dot and underscore (up to 20 characters). The order is fixed: batch before serial number.
All other codes – and products without a GTIN – use the GS1-free path /p/{id}, with serial numbers /p/{id}/s/{serial}. The ID is created by Tagvio.
With your own domain (see Domains) the path stays the same: https://qr.beispiel.de/01/09506000134352. On go.tagvio.app each GTIN can be used only once across all workspaces. After a GTIN code is deleted, its address stays reserved there for other workspaces for 12 months, because printed codes may still be in circulation.
Weingut Sonnhalde sells a Riesling with the GTIN 9506000134352. It creates a tag of type Product (GTIN) with this GTIN and the product page as destination. The label carries the code qr.beispiel.de/01/09506000134352. Customers in the shop scan it with their phone and land on the page with tasting notes. Next year the winery points the code to the new vintage – without new labels.
One code for the till and the customer (Sunrise 2027)
“Sunrise 2027” is an initiative under GS1: by the end of 2027, retail scanners and checkout software should be able to read 2D codes – such as QR codes with GS1 Digital Link. It is an industry goal, not a law.
Because the GTIN is part of the address, a checkout that supports GS1 Digital Link can read the GTIN straight from the code and look up the price as usual. A phone opens your product page with the same code. One code can then serve both.
- Whether a particular checkout already reads 2D codes depends on the retailer. Many don't yet.
- Keep the classic EAN/UPC barcode on the pack during the transition. Talk to your retailers and your GS1 organisation before you change packaging.
- Print tips (size, contrast) are in Print & export.
Link types for apps and tills
A GTIN code can hold several links. A normal scan leads to the product page. Apps, tills and other machines can ask for a specific link with the parameter ?linkType=:
| Request | Result |
|---|---|
?linkType=gs1:pip | Product page (field Product page) |
?linkType=gs1:paymentLink or checkout | Buy link (field Buy link (optional, for scan to buy)) – see Scan to buy |
?linkType=gs1:defaultLink | The default destination |
?linkType=linkset | All links as JSON (linkset, RFC 9264) |
Link types can be written short (gs1:pip) or as a full address (https://ref.gs1.org/voc/pip). An app can also request the linkset with the header Accept: application/linkset+json. If a code has no link of the requested type, the resolver answers with an error instead of guessing. Other parameters in the scan address (e.g. campaign parameters) are passed on to web destinations.
https://go.tagvio.app/01/09506000134352?linkType=checkout
For a product passport with a GTIN, the passport page is the product page (gs1:pip) and the shop link is the buy link.
Which destination wins?
On every scan, Tagvio looks for the most specific destination, in this order:
- Serial number – e.g. when you blocked a single serial number on the Authenticity tab. Then the scan shows a warning page.
- Batch – if you gave the batch its own destination (see Batches). Otherwise a code with
/10/leads to the product's destination. - Product – the destination of your tag.
- Fallback page of the domain – for unknown, archived or deleted codes. For your own domain you set it under Settings › Domains; on
go.tagvio.appit is the Tagvio homepage.
Möbelwerk Kranich prints …/01/09506000134352/21/{serial} on every chair. A scan of a normal serial number leads to the product page of the chair. A serial number that was copied and blocked shows a warning page. When the chair is discontinued and the tag archived, scans land on Kranich's fallback page instead of an error.
Batches and recalls
On the detail page of a Product (GTIN) tag, tab Content, the box Batches creates batch codes: the scan address gets the batch number, e.g. go.tagvio.app/01/09506000134352/10/24-117. Print this code on the products of that batch.
- Enter the Batch number (1–20 letters, digits, dot, hyphen or underscore) and click Save batch.
- Download the batch code as SVG or PNG, or copy its address for your label software.
- Leave Own destination (optional) empty: scans lead to the product destination, like the normal product code.
- When something changes for exactly this batch – a recall, a different vintage, a safety note – click Edit, enter an own destination and, if you like, tick Turn off the buy link for this batch. Only codes of this batch change; all other batches and the product stay as they are.
Serial numbers keep working inside a batch code (…/10/24-117/21/{serial}): the authenticity check stays on. Removing a batch sends its codes back to the product destination. Up to 500 batches per tag.
Scans per batch: the box shows the scans of the last 30 days next to each batch. Analytics lists all scanned batches with product, scans, last scan and setup – also batch numbers you never set up in Tagvio. If a batch with its own destination (e.g. a recall page) is still being scanned, a notice above the table tells you how often.
The juice maker Talmühle finds a faulty seal in batch 24-117. Instead of a press release with long batch lists, it gives this batch the destination of its recall page and turns off the buy link. Customers who scan a bottle of 24-117 land on the recall page; all other bottles still show the product page.
GTIN codes per plan
Codes with a GTIN are counted per plan: Startup 3, trial 100, Scaleup from 100 to 10,000 depending on the slider, Enterprise unlimited. Archived codes don't count. Product passports with a GTIN count as well. All other code types are unlimited. Details: Plans.
Related: Type: Product (GTIN) · Authenticity · Domains
Use the contact form or write to hello@tagvio.app – we usually reply within 1–2 business days.
Free plan forever. No credit card. Early access: we activate new accounts within one working day.