Sales attribution for creators selling digital products

StackNext.jsStripe/Gumroad webhooksPostgresRedis

Search demandLowFew people are searching for this.
CompetitionLowThere are few direct competitors.
Customer valueLowCustomers are likely to spend a little.
How scoring works

The idea

A creator selling a $200 course posts on YouTube, a newsletter, Instagram, and X, then makes decisions on vibes because their Stripe dashboard says who paid but not why. Cometly built $208k MRR proving that seeing which marketing produces revenue is worth paying for — but it is priced and shaped for paid-media teams running Meta ads through agencies, with pixel setups a solo creator will never complete. Creators need three screens and zero pixel gymnastics: revenue by channel, revenue per post, done.

The wedge is meeting them at their actual stack — Stripe, Gumroad, Lemon Squeezy, even Stan storefronts — with one webhook and dead-simple smart links. Organic attribution is genuinely easier than ad attribution, which means the cheap product can also be the honest one.

Who pays

Creators making $5k+/mo from digital products: course sellers, newsletter operators, template shops. $29-79/mo is an easy yes when one post turning out to drive 60 percent of revenue changes what they make next month. Distribution is creator-economy content (the build-in-public crowd loves revenue dashboards), integrations directories on Gumroad and Lemon Squeezy, and screenshots of the revenue-per-post view, which are inherently shareable.

MVP scope

  • Smart links with ref codes, redirects, and bot-filtered click tracking
  • Stripe, Gumroad, and Lemon Squeezy webhook ingestion
  • Last-touch attribution with cookie plus thank-you-page survey fallback
  • Revenue by channel and revenue per post dashboards
  • Weekly email summary
  • Skip for v1: paid-ad platform integrations, multi-touch models, team seats, UTM auto-tagging browser extension, API
// Build prompt — paste into Cursor / Claude Code / Lovable / Bolt
Build WhichLink, a revenue attribution app for creators.

Core flow: a creator connects Stripe or Gumroad via webhook (Lemon
Squeezy too), then creates smart links — one per channel or per post,
like wl.ink/yt-vid-42. Each link 302-redirects to the checkout or sales
page, setting a first-party cookie and appending a ref code to the
destination URL. When a purchase webhook arrives, the matcher attributes
it: exact ref-code match first, then cookie match on the sales-page
snippet, then a fallback that asks the buyer how did you find me on the
thank-you page and merges that answer in. The dashboard answers one
question per screen: revenue by channel this month, revenue per post
(each smart link with its earnings), and a table of products by channel.
Weekly email summarizes the winner and loser channels.

Stack: Next.js App Router with TypeScript, Postgres via Prisma for
events and attributions, Redis for click buffering and dedupe, Stripe,
Gumroad, and Lemon Squeezy webhooks.

Pages: onboarding connect flow, links manager, revenue dashboard, per-
link detail, settings/billing.

Non-obvious details: store clicks raw in Redis and batch-flush to
Postgres — creator links get bot-hammered and you must filter known bot
user agents before they pollute conversion rates; attribution windows
should default to 30 days last-touch, configurable, and shown on every
number so creators trust the math.

Pricing: free up to $1k tracked revenue/mo, $29/mo to $10k, $79/mo
unlimited plus weekly email reports.

// More Micro-SaaS ideas