marketing
Accurate Attribution with Dub
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.gitWhen 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
Ready-to-paste prompt
npx dub track --link https://example.com --channel social --utm_source twitter --utm_medium paid
Heads up: You need to obtain a Dub API key and configure it in your `dub.json` file before you can start tracking links
Saves to your device
Topics
clickhouse
mysql
nextjs
open-source
planetscale
prisma
tailwindcss
tinybird
typescript
upstash
vercel
What's inside — free to inspect
No purchase needed
Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.
Details
Creator
dubinc
Language
TypeScript
Category
marketing
Published
8/27/2022
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More marketing tools founders pair with this one.
marketing★ 9,667
paseo: Code Anywhere
Code from your phone or desktop with paseo, a tool for founders and developers, with 7.8k+ GitHub stars
marketing★ 4,037
Short Video Factory: Auto Video Clips
Generate product marketing videos with short-video-factory. Ideal for founders, with 4.0k+ GitHub stars.
marketing★ 2,980
Openocta: Automate Workflows
Get an open-source AI agent for office automation, ideal for founders. Openocta has 3.0k+ GitHub stars.
marketing★ 2,471
MultiPost-Extension: One-Click Publishing
Publish to multiple social media platforms at once. Ideal for founders seeking marketing automation.
marketing★ 2,366
aaron-marketing-skills: Boost Marketing
Get 54 marketing skills for startup founders, with 2.3k+ GitHub stars, covering SEO, influencer, and paid ads.
marketing★ 2,338
CMSaasStarter: Fast SaaS Setup
Get a head start with a modern SaaS template, perfect for startup founders, with 2.3k+ GitHub stars.