What’s the best way to build a referral attribution system? For instance, use URL query param with referrer ID, then set a local variable with that ID so that if that user comes back to sign up, I can read the local variable to see who originally referred them?
Is there an expiry time for local variables? Can I set that somewhere?
OR is it better to “set a cookie”, what’s the difference? And how do I set this?
Basically, I have the same question as this thread here: