Skip to content
Projects

thebigasif/affiliate-tracking

View on GitHub

thebigasif/affiliate-tracking has 26 GitHub stars and 0 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 21:09 UTC. Last push 2026-11-07.

How these counts are measured

What you can do

  • Affiliate links, coupon codes and lifetime customer tracking
  • Sales from Stripe, Paddle, Chargebee, Lemon Squeezy, Polar and Recurly
  • Recurring commissions, refunds and chargebacks handled automatically
  • Fraud checks for self-referrals, click floods, coupon hijacking, bot and datacenter traffic, and more

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Open source affiliate tracking software. Self-hosted alternative to Rewardful, FirstPromoter, Tapfiliate and Tolt.

Self-hosted

README.md

Original

AffiliateTracking: open source affiliate tracking software you host yourself

License: AGPL-3.0 Latest release Docker image on ghcr.io GitHub stars

Run your own affiliate program on your own server. AffiliateTracking tracks partner clicks, credits sales from Stripe, Paddle and other billing tools, holds suspicious commissions before you pay them, and works out who to pay. It is a free, self-hosted alternative to Rewardful, FirstPromoter, Tapfiliate and Tolt, and it never takes a cut of your affiliate revenue.

Website · Product tour · Self-host guide · Docs · Discussions

The AffiliateTracking admin overview: clicks, sales, payouts to approve, held commissions and the tasks that need you today, on demo data

Why AffiliateTracking

  • Free and open source. Every feature, unlimited affiliates and programs, no licence key and no revenue caps.
  • Your data stays with you. Partners, clicks and payouts live in one database file on your server.
  • Fraud is held before you pay it. 13 fraud rules check each sale, and a flagged commission waits for your decision instead of being paid.
  • Books your affiliates can check. A double-entry ledger records every commission, so each partner can see how their balance adds up.
  • Small and fast. One program file with SQLite built in. In our load test it handled about 10,000 affiliate link redirects a second. Postgres is supported when you outgrow SQLite.

Features

  • Affiliate links, coupon codes and lifetime customer tracking
  • Sales from Stripe, Paddle, Chargebee, Lemon Squeezy, Polar and Recurly
  • Recurring commissions, refunds and chargebacks handled automatically
  • Fraud checks for self-referrals, click floods, coupon hijacking, bot and datacenter traffic, and more
  • Payouts in batches, with PayPal and Wise bulk-pay files and tax form collection
  • A branded affiliate portal on your own domain
  • Multi-tier commissions, usage-based commissions and partner leaderboards
  • A JSON API with scoped keys, plus an MCP server for AI assistants
  • Import from your old tracker, with a dry run and one-command undo
  • GDPR export and erasure, and optional IP anonymisation

The fraud queue: commissions held by rules such as coupon hijack and self-referral, waiting for a decision, on demo data

Quickstart

Download the binary for your system from Releases, or run the Docker image:

docker run -p 8080:8080 -v ae-data:/data ghcr.io/thebigasif/affiliate-tracking:latest

Or build it from source with Go:

go build -o affiliate-engine ./cmd/affiliate-engine
./affiliate-engine -listen :8080 -db sqlite:affiliate.db

The first run creates the database and a signing secret. Then create an admin API key and open http://localhost:8080/admin:

./affiliate-engine -db sqlite:affiliate.db keygen --scope admin --name ops

Next steps:

  1. Connect your site with one script tag.
  2. Add your billing tool's webhook secret. See Configuration.
  3. Put it on a server with HTTPS. See DEPLOY.md or the self-host guide.

Switching from another affiliate tool

AffiliateTracking imports affiliates, referral codes and customers from CSV exports. Old affiliate links keep working. A dry run shows conflicts and fraud signals before anything is written, and one command undoes an import. See how to switch.

The affiliate portal: money in hold, ready for the next payout and already paid, with clicks and sales over 30 days, on demo data

Documentation

Managed hosting

Self-hosting is free. If you would rather we run it for you, with backups, upgrades, an SLA and migration help, see managed hosting or contact us.

The Shopify app and the WordPress plugin are separate products and are not in this repository.

Community

  • Ask questions and share ideas in Discussions.
  • Report bugs in Issues. Report security problems privately, as SECURITY.md explains.
  • Want to help? Start with an issue labelled good first issue.
  • If AffiliateTracking is useful to you, star the repository so others can find it.

License

GNU Affero General Public License, version 3: see LICENSE, or the plain-words version. Copyright (c) 2026 SAAS SEO AGENCY LLC.

Run it and change it freely for your own business. If you offer it to others as a hosted service, publish your changes under the same licence.