Referral Tracking

Hello Community. Quick question I can’t seem to find an answer to.

Is there a way to construct a URL that will allow me to capture a referral code on a new member signing up on our app? Specifically, we do not market our app but rely on certain members within the app inviting others. It would be really cool if I could somehow insert the referring member’s record ID into the new member’s record.

Is there any way to do this?

Thanks!

Hi Stewart,

Yes. Here’s the “No-Code” way to do this:

  1. Create a field in the member object called Referral Code
  2. Add the Referral Code field to your sign up form (and hide the field with CSS if you want)
  3. Use URL variables to populate the sign up form

Feel free to reach out if you need help setting this up: hello@knackpros.com

Thanks,
Ian

Thank you Ian. This sounds very promising. And I would like to hide the code but I don’t know how to do that in CSS. Is there a simple way?

You’re welcome.

I would like to hide the code but I don’t know how to do that in CSS. Is there a simple way?

Yes, add this to your CSS and replace the field number:

#kn-input-field_3 { 
  visibility: hidden; 
}

I believe that visibility:hidden is safer because display:none might prevent the URL variables from filling the form.

This works fantastically. Thank you Ian.

1 Like