Dub Links

A link attribution platform for creating short links, tracking conversions, and managing affiliate programs with analytics.

Dub Links screenshot 1

Dub is an open-source link attribution platform. It provides tools for creating short links, tracking conversions, and managing affiliate programs. The software is deployed as a web application and can be self-hosted for users who require direct control over their data and design, allowing for customized branding and data residency.

Marketing teams use the platform to manage link attribution and monitor traffic patterns across various channels. It is built using a modern web stack and supports deployment on Vercel, utilizing a combination of relational and analytical databases to handle high volumes of click data. The system is designed to scale, supporting millions of links and clicks monthly for organizations that need to track the effectiveness of their digital marketing spend.

Key features

  • Short link generation and management
  • Conversion tracking for marketing campaigns
  • Affiliate program support
  • Real-time analytics via Tinybird
  • Custom domain integration
  • User authentication through NextAuth.js
  • SSO and SAML support via BoxyHQ
  • Database management using Prisma ORM
  • Email notifications via Resend

The architecture relies on Next.js and TypeScript, with Tailwind CSS for the user interface. It uses PlanetScale for the primary database and Upstash for Redis caching to ensure fast redirection and data retrieval. For developers, the project is organized as a monorepo using Turborepo, which simplifies the management of shared packages and applications. The platform is intended for marketing professionals and developers who require a transparent way to attribute traffic and measure the success of their links.

The project follows an open core model, where the majority of the technology is licensed under AGPLv3, while specific enterprise features are available under a commercial license for larger organizations. Dub is a developer-friendly attribution tool for teams that need a self-hostable link shortener.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity15 days ago
Repository Age3 years
LicenseAGPL-3.0
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.