Referral Link Tracking

I am considering building a contest into my app to award users who refer the most new users to the app. My question is, what’s the easiest way to build this?

My initial thought is to use each users unique ID to have a unique link generated for each user, something like “app.com/unique-userid”

Then when a user lands on the page to signup, if they signup have it assign a “point” to the user referred by.

My questions are…

  1. Is this the best way to do this? Any 3rd party plugin that does this super easily?

  2. How do I actually track the link a users came from and signup from? Can I see what link someone came from and extract the user id (if it has one) then store that if they signup?

Thanks in advance!

If what you mean by “track the link a users came from” and “see what link someone came from” is “extract the user id (if it has one)”, then the answer is through get data from page URL operator, it can be found where Do a search for can be found.

Thanks! I’ll take a look.