Dub

Dub

WHAT IS IT?

Dub is an open source link attribution platform built for marketing teams who want to go beyond vanity metrics. It combines URL shortening, conversion analytics and affiliate program management in a single interface. Used by companies like Twilio, Vercel and Perplexity, it processes over 100 million clicks per month.

WHY IS IT INTERESTING?

  • Feature-rich short links: custom domains, QR codes, device and geo-targeting, A/B testing, deep links and cloaking — all configurable per link.
  • End-to-end attribution: track the full journey from first click to final conversion with real-time analytics. No more dashboards that just count clicks.
  • Built-in affiliate programs: partner management, commission structures, embedded referral dashboards and global payouts — no third-party tools needed.
  • API-first: SDKs available in TypeScript, Python, Go, PHP and Ruby. Webhooks, deferred deep linking and link generation at scale for programmatic use cases.
  • Open source and self-hostable: code is on GitHub under AGPL-3.0 with 23k+ stars. Self-host it or use the managed SaaS version.

USE CASES

  • Measure real marketing campaign impact with conversion tracking, not just click counts
  • Launch an affiliate program without stacking third-party tools
  • Generate branded short links at scale via the API for a platform or product
  • Replace Bitly with an open source solution featuring advanced analytics and custom domains
  • Track cross-channel attribution (email, social, paid) in a single dashboard