R22 is a referral portal you can bolt onto a site you already run. Someone creates an account, gets their own referral code, and passes it on. When the next person signs up using that code, the referrer's member count and points go up β all held in a Google Sheet you own, with no affiliate platform in the middle.
Registration takes a username, a password and, optionally, somebody's referral code. A username already in use is refused rather than silently overwritten. On success the new member is issued their own code, and an email goes out telling them what it is and which code they signed up under β the wording of that email is plain text in the code, so it can read the way your brand talks.
After logging in they get their user ID, their own referral code, how many members they have brought in and how many points that is worth. A member list shows exactly who joined through them, prints for a record and downloads as a PDF. If you would rather members could not see each other's referral codes in that list, the walkthrough shows the line to remove.
Points are counted with a formula: how many people used that member's code, multiplied by the value you decide a member is worth. Three points per member in the demo, but that multiplier is a cell β change it and the whole scheme changes.
The points formula lives in the sheet and needs dragging down as the member list grows, so leave yourself plenty of filled rows. Earnings are not built in; points are the measure the portal ships with, and a money column is something you would add yourself.
| Version | v1.0 |
| Published | Aug 22, 2025 |
| Platform | Google Apps Script |
| Database | Google Sheets |
| Category | Membership & Subscription |
| Tags | |
| Video | Watch walkthrough |
| License | Regular License |
Subscribe on YouTube, then verify with one click. No payment, no card. Google is used only to confirm your subscription.
What you get
Not subscribed yet? Subscribe to our channel
Extra modules, your branding, integrations or reports built on top of this file. You get a clear quote and timeline before any work starts, and support after delivery.
What We Customize
20-30% advance to start β’ Clear quote before work begins β’ Support included after delivery
Paid picks from the same category
Login System with Google Spreadsheet Integration | Membership Web Portal Using Apps Script | C19
35 views this month
Build a VIP Membership Web Dashboard Using Google Apps Script V1 | C41
37 views this month
VIP Membership Dashboard Portal with Google Sheets & Apps Script | OTP Login, Usage Limits | C42
30 views this month
What buyers and viewers say about How to Build a Referral Login Portal Free for Your Website (Google Sheets Database).