> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paperjoy.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom QR code domain: links with your company's address

> Connect a subdomain, such as qr.yourcompany.com, so your QR codes use your own address.

The QR code on a card goes through a short `https://paperjoy.co/q/…` link. With a custom domain, the same link uses your company's address, such as `https://qr.yourcompany.com/q/…`. Recipients who scan the code see your brand. Scan statistics work the same way.

Each company can connect one subdomain. You add one DNS record, and we issue the HTTPS certificate ourselves.

## Connect a domain

**1. Pick a subdomain**

Use a subdomain you don't use for anything else, such as `qr.yourcompany.com` or `go.yourcompany.com`. A root domain such as `yourcompany.com` won't work.

The address can be up to 63 characters. A shorter address makes a sparser code that scans more easily.

**2. Add it in the Paperjoy app**

Open **Ustawienia** (Settings) → **Domena QR** (QR domain). Enter the subdomain in the **Subdomena** (Subdomain) field and click **Dodaj domenę** (Add domain).

**3. Add a CNAME record**

At your domain provider (for example in Cloudflare, OVH, or your registrar's panel), add this record. The **Domena QR** page shows it with copy buttons:

| Field | Value |
| - | - |
| **Typ** (Type) | `CNAME` |
| **Nazwa** (Name) | Your subdomain, such as `qr.yourcompany.com` |
| **Wartość** (Value) | `qr.paperjoy.co` |

* If your provider adds the domain name for you, enter only the part before it in the name field, such as `qr`.
* In Cloudflare, turn off the proxy for this record (grey cloud, **DNS only**).

![The Domena QR page with qr.example.com in the Czeka na rekord DNS (waiting for the DNS record) state. The record to add: type CNAME, name qr.example.com, value qr.paperjoy.co, with copy buttons and the Sprawdź teraz (Check now) and Usuń domenę (Remove domain) buttons.](https://mintcdn.com/paperjoy/U_-JB8FLStMDtkeU/images/app/qr-domain-pending.webp?fit=max\&auto=format\&n=U_-JB8FLStMDtkeU\&q=85\&s=ce3890d6acb5e71212a401b074d1ef11)

**4. Wait for activation**

A DNS change usually works within a few minutes but can take a few hours. For the first week we check the domain automatically every few minutes. After that, click **Sprawdź teraz** (Check now).

Once the domain shows **Aktywna** (Active), new stickers use your address.

![The Domena QR page with qr.example.com marked Aktywna (Active): new QR stickers go through https://qr.example.com/q/…, and cards that already have a sticker keep their address.](https://mintcdn.com/paperjoy/U_-JB8FLStMDtkeU/images/app/qr-domain-active.webp?fit=max\&auto=format\&n=U_-JB8FLStMDtkeU\&q=85\&s=4573775e79015410f58b33a907cfe495)

## Domain statuses

| Status | What it means |
| - | - |
| **Czeka na rekord DNS** (Waiting for the DNS record) | We don't see the record yet, or we're issuing the certificate. Stickers use the Paperjoy address. |
| **Aktywna** (Active) | New stickers use your domain. |
| **Wymaga uwagi** (Needs attention) | The domain doesn't lead to Paperjoy, for example because the CNAME record was removed or changed. Check the record and click **Sprawdź teraz** (Check now). Until then, new stickers use the Paperjoy address. |

While the domain is waiting or needs attention, the page shows messages from the certificate provider to help you find the problem.

## Which cards get your address

* **Cards we haven't started writing.** We fix the sticker's address when the robot starts writing the card. If your domain is active then, the card uses it.
* **Cards in production and sent cards keep their address.** Adding, changing, or removing the domain never changes the link on a card that already has a sticker or is in production.
* **Paperjoy links keep working.** Cards sent earlier go through `paperjoy.co`, as before.

Your domain only serves links to your own cards. Any other address on it returns a 404 error, so the subdomain never shows a Paperjoy page.

## UTM parameters

On your own domain, we add `utm_source=qr_code&utm_medium=postcard` to your URL, without the Paperjoy name. If your link already has any `utm_` parameter, we leave it unchanged. See [QR codes](https://docs.paperjoy.co/en/postcards/qr-codes.md).

## Change or remove the domain

To connect a different subdomain, remove the current one with **Usuń domenę** (Remove domain) and add the new one.

> [!WARNING]
>
> Once you remove the domain or its CNAME record, stickers printed with that domain stop working. Before you remove it, the page shows how many cards carry such a code. Keep the record while those cards may still be scanned.

New stickers then go back to the Paperjoy address.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.