Affiliate Links Referral System in Glide?

I have a client that wants to implement an affiliate link referral system, but not sure if @grumo’s method (below) will work because the app requires sign in. Once the user signs in and the app refreshes, the ?ref=xxxxx parameter disappears.

Anyone think of a workaround?

1 Like

Would it be possible to implement a screen along the lines of ‘Enter your referral code’ which could either use relation columns or possibly Make.com / zapier to validate it? Just thinking off the top of my head haha :grinning_face_with_smiling_eyes:

Edit: I have just seen this (📬 Create a Referral Code System with CUSTOM and UNIQUE User Codes) so you have most likely already thought of this option!

I think the easiest way is to make an open page(no sign-in needed) it would go like this:
Referral Link > Landing Screen > Save ref > Force Sign-In > Continue

  • Make the app open to a public screen.
  • On that screen:
  • Read ?ref=
  • Write it to a Device/User temp column.
  • Add a “Continue” button > Sign-in screen.
  • After login > move temp ref to permanent user field.

Yeah… I’m thinking the only way to make it work would be to make sign in optional. Playing with a concept now…

1 Like

Excited to see what you come up with.

Got something going! A touch complex, but functional! Creating an overview now.

1 Like

A bit complex, but fully functional and covers various scenarios of semi-permanence affiliate matching.

2 Likes