TenanciTenanci

Help centerMarketing & A/B tests

Campaign links and QR codes

Short links on the customer's own domain (/l/…), with a UTM builder, QR codes for print and click counts.

A short link on the customer's own domain looks more trustworthy than a generic shortener and comes with the UTMs already filled in. Every click is counted, so you know how many visits each ad, post or flyer brought in.

How it works

Each link becomes an address like https://customer-domain/l/<address>. Whoever opens it is redirected right away to the destination page, with the UTMs you chose.

  • The destination can be any http(s) page: on the same domain, a form, a WhatsApp link.
  • Parameters that arrive on the link (like gclid and fbclid from ads) are passed on to the destination, without overriding the link's UTMs.
  • If your app already uses paths under /l/…, only the addresses registered here are diverted; everything else still goes to the app.
  • Up to 500 links per domain.
  1. Open the domain, Marketing tab, Campaign links card.
  2. Click New link.
  3. Fill in the Name (just for you), e.g. "Black Friday — Instagram". The Address is suggested from the name; adjust it if you like (lowercase letters, digits and hyphens, up to 60 characters).
  4. In Destination page, enter the URL the visitor should land on.
  5. Under UTM parameters, pick a Quick source (Instagram, Facebook, Google Ads, TikTok, WhatsApp, E-mail, QR code) or fill in Source (utm_source), Medium (utm_medium), Campaign (utm_campaign) and, optionally, Content (utm_content) and Term (utm_term) yourself.
  6. Check the Final destination (the full URL, with the UTMs) and click Save.

The link shows up in the list with a copy button, and it works within a few seconds.

QR code

  1. In the link list, click the link's QR code icon.
  2. Download it with Download SVG (for print shops; scales without losing quality) or Download PNG (1024 × 1024 px).

The QR code points to the short link, so every scan counts as a click. It uses medium error correction, which holds up to printing and minor creases.

Clicks

Next to each link you see the total for the last 30 days, like "128 clicks · last click 2 hours ago", or "no clicks yet". Bots aren't counted.

Visitors who arrive through the link also show up in Analytics, with the UTMs under Sources.

Edit or remove

  • The pencil icon opens the same form to change name, address, destination or UTMs.
  • The trash icon removes the link. Anyone who opens the address afterwards lands on your app (which will probably show an error page), so only remove links that are no longer printed or running in ads.

Through the API

Create links with POST /domains/:id/links (domains:write scope). The UTMs go inside the url itself. The response includes the ready-made shortUrl.

curl -X POST https://api.tenanci.com/v2/domains/dom_4h7n1q/links \
  -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "slug": "bf-instagram",
    "name": "Black Friday — Instagram",
    "url": "https://odontosul.com.br/agendar?utm_source=instagram&utm_medium=social&utm_campaign=bf2026"
  }'
# → { "id": "lnk_...", "slug": "bf-instagram", "shortUrl": "https://odontosul.com.br/l/bf-instagram", ... }

There are also GET /domains/:id/links, PATCH /domains/:id/links/:linkId and DELETE /domains/:id/links/:linkId. Clicks come from GET /domains/:id/analytics/campaigns (links field).

A repeated address on the same domain returns 409 slug_taken.