thebigasif/affiliate-tracking
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.
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-hostedREADME.md
OriginalAffiliateTracking: open source affiliate tracking software you host yourself
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
![]()
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
![]()
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:
- Connect your site with one script tag.
- Add your billing tool's webhook secret. See Configuration.
- 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.
- Rewardful alternative
- FirstPromoter alternative
- Tapfiliate alternative
- Tolt alternative
- Compare all affiliate tracking tools
![]()
Documentation
- Connect your site and switch trackers
- Configuration: every environment variable
- HTTP endpoints
- Payouts, tax forms and privacy
- Architecture, performance and testing
- Self-hosting and operations
- Changelog
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.