Get precise link tracking with Dub, for world-class marketing teams, backed by 24k+ GitHub stars
23,978 stars3,110 forksTypeScriptQuality 9/10Updated 7/12/2026100% free · open source
What it does
Dub provides precise link tracking for marketing teams, allowing them to accurately attribute and analyze the performance of their links across various channels.
Install / run
git clone https://github.com/dubinc/dub.git
When to use it
•When you need to track the performance of specific links in your marketing campaigns
•When you want to understand how different channels (e.g. social media, email, paid ads) are driving traffic to your site
•When you need to attribute conversions or sales to specific marketing efforts
Quick start
1Run `npm install` to install the dependencies required by Dub
2Create a new Dub project by running `npx dub init` and following the prompts
3Configure your link tracking by editing the `dub.json` file, specifying your API key and other settings as needed
4Start the Dub server by running `npx dub start` and access the dashboard at http://localhost:3000
5Integrate Dub with your existing marketing tools by using the provided APIs and webhooks