ecency / ecency-vision

Immutable, decentralized, uncensored, rewarding communities built, owned and operated by its users
https://ecency.com
MIT License
54 stars 55 forks source link

Referral url param keeping #1053

Closed feruzm closed 1 year ago

feruzm commented 1 year ago

Respect or keep ?ref=username and ?referral=username in link in all path/location, when people come from other sources online, if they click signup, this field automatically should be detected.

MTSaeed commented 1 year ago

@feruzm Can you please tell from which places in ecency can a user send or share some thing with a referral. I am trying to follow an approach as follows:

Rather than keeping the referral in URL all the time. We can check in specific components that could be referred. We can check if there is a referral in the URL in these components and save the referral in Redux. Later on during that session of the user when the user comes to signup we can pull referral information from redux and display in the form as well as the signup URL.

In this way we can retain the information that the user is referred without keeping the param in URL all the time.

Kindly suggest.

feruzm commented 1 year ago

@MTSaeed there is 3 dots options in content page or content list. ... when clicked there is sharing link or copy link features. We also have profile referrals page where you can copy your referral link after you login.