A URL shortener on your own domain
Short links on your own domains, a host for each site such as k7q.example.com, served by a worker in your Cloudflare account — with a QR code for every link, rules by country and device, and click tracking.
Start free
1 Connect Cloudflare → 2 Choose a link host → 3 Make a link
k7q.example.com/spring → example.com/spring-sale
Rules
Germany, Austria → example.de/fruehling Phone → example.com/app
Clicks by country
United States: 1,840 · 53% United States 1,840 · 53% Germany: 960 · 28% Germany 960 · 28% Austria: 410 · 12% Austria 410 · 12% Other: 230 · 7% Other 230 · 7%
United States: 1,840 · 53% United States 1,840 · 53% Germany: 960 · 28% Germany 960 · 28% Austria: 410 · 12% Austria 410 · 12% Other: 230 · 7% Other 230 · 7%
An example link.
Your domain, not ours Each site can have a link host of its own — a random three-character name under its address, such as k7q.example.com — so the links of one site share nothing with another’s. clx makes the host itself: Cloudflare creates its DNS record and certificate, and never over a record you already have. A link answers with a plain 302 redirect and no caching, so every click reaches the worker; anything else on the host is a bare 404.
A QR code for every link Download it as SVG from the app or the API. A scan is reported as its own source, and the code never changes — change the target or the rules, and printed codes keep working.
Rules by country, device and bot Up to ten rules a link: send Germany to the German page, phones to the app, and link previews or search engines to a page of their own. The first rule that matches wins; otherwise the main target.
Link tracking Clicks and visitors of every link, by day, with sources, countries, devices, browsers and systems — and for a link with rules, which rule took which clicks. Bots are redirected too, but counted apart.
The visit counter on the same worker → clx vs Bitly → A free QR code generator → How it works →
Which rule took which clicks
With rules, one link sends people different ways. The report draws it in one picture: from every source to the address each click was sent to, so you see what each rule actually does.
Where the clicks went QR code → Main address: 80 · 2%; QR code → Rule 1 (DE, AT): 820 · 24%; QR code → Rule 2 (phone): 80 · 2%; Direct → Main address: 260 · 8%; Direct → Rule 1 (DE, AT): 300 · 9%; Direct → Rule 2 (phone): 500 · 15%; news.example.net → Main address: 480 · 14%; news.example.net → Rule 1 (DE, AT): 150 · 4%; news.example.net → Rule 2 (phone): 210 · 6%; blog.example.org → Main address: 100 · 3%; blog.example.org → Rule 1 (DE, AT): 100 · 3%; blog.example.org → Rule 2 (phone): 360 · 10% QR code → Main address: 80 · 2% QR code → Rule 1 (DE, AT): 820 · 24% QR code → Rule 2 (phone): 80 · 2% Direct → Main address: 260 · 8% Direct → Rule 1 (DE, AT): 300 · 9% Direct → Rule 2 (phone): 500 · 15% news.example.net → Main address: 480 · 14% news.example.net → Rule 1 (DE, AT): 150 · 4% news.example.net → Rule 2 (phone): 210 · 6% blog.example.org → Main address: 100 · 3% blog.example.org → Rule 1 (DE, AT): 100 · 3% blog.example.org → Rule 2 (phone): 360 · 10% Direct: 1,060 · 31% A QR code: 980 · 28% B news.example.net: 840 · 24% C blog.example.org: 560 · 16% D Rule 1 (DE, AT): 1,370 · 40% 1 Rule 2 (phone): 1,150 · 33% 2 Main address: 920 · 27% 3 Direct: 1,060 · 31% A Direct 1,060 · 31% QR code: 980 · 28% B QR code 980 · 28% news.example.net: 840 · 24% C news.example.net 840 · 24% blog.example.org: 560 · 16% D blog.example.org 560 · 16% Rule 1 (DE, AT): 1,370 · 40% 1 Rule 1 (DE, AT) 1,370 · 40% Rule 2 (phone): 1,150 · 33% 2 Rule 2 (phone) 1,150 · 33% Main address: 920 · 27% 3 Main address 920 · 27% Where the clicks went QR code → Main address: 80 · 2%; QR code → Rule 1 (DE, AT): 820 · 24%; QR code → Rule 2 (phone): 80 · 2%; Direct → Main address: 260 · 8%; Direct → Rule 1 (DE, AT): 300 · 9%; Direct → Rule 2 (phone): 500 · 15%; news.example.net → Main address: 480 · 14%; news.example.net → Rule 1 (DE, AT): 150 · 4%; news.example.net → Rule 2 (phone): 210 · 6%; blog.example.org → Main address: 100 · 3%; blog.example.org → Rule 1 (DE, AT): 100 · 3%; blog.example.org → Rule 2 (phone): 360 · 10% QR code → Main address: 80 · 2% QR code → Rule 1 (DE, AT): 820 · 24% QR code → Rule 2 (phone): 80 · 2% Direct → Main address: 260 · 8% Direct → Rule 1 (DE, AT): 300 · 9% Direct → Rule 2 (phone): 500 · 15% news.example.net → Main address: 480 · 14% news.example.net → Rule 1 (DE, AT): 150 · 4% news.example.net → Rule 2 (phone): 210 · 6% blog.example.org → Main address: 100 · 3% blog.example.org → Rule 1 (DE, AT): 100 · 3% blog.example.org → Rule 2 (phone): 360 · 10% Direct: 1,060 · 31% A QR code: 980 · 28% B news.example.net: 840 · 24% C blog.example.org: 560 · 16% D Rule 1 (DE, AT): 1,370 · 40% 1 Rule 2 (phone): 1,150 · 33% 2 Main address: 920 · 27% 3 Direct: 1,060 · 31% A Direct 1,060 · 31% QR code: 980 · 28% B QR code 980 · 28% news.example.net: 840 · 24% C news.example.net 840 · 24% blog.example.org: 560 · 16% D blog.example.org 560 · 16% Rule 1 (DE, AT): 1,370 · 40% 1 Rule 1 (DE, AT) 1,370 · 40% Rule 2 (phone): 1,150 · 33% 2 Rule 2 (phone) 1,150 · 33% Main address: 920 · 27% 3 Main address 920 · 27%
The example link’s report, 30 days: its printed QR code went out in Germany, and its blog is read on phones.
A link is one API call
Make links in the app, or let your site generator or agent make them:
curl https://clx.cx/v1/links \
-H "Authorization: Bearer clx_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"link_host_id":"…","url":"https://example.com/spring-sale","code":"spring",
"rules":[{"countries":["DE","AT"],"url":"https://example.de/fruehling"}]}'
# → 201 { "link": { "short_url": "https://k7q.example.com/spring", … } }
Questions
Can I use clx without a domain of my own? No. Links live on your host in your Cloudflare account: clx.cx carries none of your traffic.
What happens to a printed QR code if the page moves? Change the link’s target: the code and the QR code stay the same.
How many links can I have? 200 on the free plan, 10,000 on Pro.
How is a link chosen by country? By the country Cloudflare sees the click from; a device is a phone or a computer.
All questions →