marketing
Accurate Attribution with Dub
Get precise link tracking with Dub, for world-class marketing teams, backed by 24k+ GitHub stars
24,421 stars3,227 forksTypeScriptHealth Score 9/10Updated 8/16/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★ 17,718
Lazysizes
High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without…
marketing★ 12,437
claude-seo: Boost SEO
Get comprehensive SEO automation with claude-seo, ideal for founders, with 12k+ GitHub stars.
marketing★ 11,540
paseo: Code Anywhere
Code from your phone or desktop with paseo, a tool for founders and developers, with 7.8k+ GitHub stars
marketing★ 9,422
GEO SEO Claude
GEO-first SEO skill for Claude Code. Comprehensive AI search optimization for any website — citability scoring, AI crawler analysis, brand authority, schema markup, platform-specific optimization, …
marketing★ 5,167
Short Video Factory: Auto Video Clips
Generate product marketing videos with short-video-factory. Ideal for founders, with 4.0k+ GitHub stars.
marketing★ 3,363
Seotools
SEO Tools for Laravel