marketing

dub – Turn Every Link into Measurable Marketing Insight

Founders can track clicks, conversions and campaign performance with dub’s modern attribution stack, trusted by teams like Framer and Twilio. 25k+ GitHub stars.
24,878 stars+14★ this week3,320 forksTypeScriptGuide quality 8/10 · reviewed Oct 5Updated 10/13/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.

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
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
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/dub && curl -fsSL https://workflowstacks.com/api/skills/dub/claude-skill -o ~/.claude/skills/dub/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How dub – Turn Every Link into Measurable Marketing Insight works
Codeflow
Free to inspect

Dub – Turn Every Link into Measurable Marketing Insight is a very large TypeScript project (~382k lines across 4126 code files, plus 109 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, Other license, has a test suite.

Size
Very large codebase
~382k lines · 4126 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Node.js
No API keys detected
TypeScript 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    package.json
    Dependencies and the commands it exposes
What's in each folder
apps/Sub-packages / plugins3601 files
packages/Sub-packages / plugins827 files
.github/CI / automation (GitHub Actions)5 files
.agents/Tool / agent settings1 files
READMEHas testsDocumentedCI checksOther licenseUpdated this month
Quick Actions
Details
Creator
dubinc
Language
TypeScript
Category
marketing
Published
8/27/2022

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/dub.svg)](https://workflowstacks.com/skills/dub?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.

Ready-to-run pack · one-time $29

Rank Tracker

A weekly email of where you actually rank on Google.

Includes the tested workflow and a written setup playbook. Needs: SerpAPI key (free tier).

See what you get