Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referral: Sharing as referral #7777

Closed
Tracked by #7766
HIM92 opened this issue May 9, 2024 · 4 comments · Fixed by #10312
Closed
Tracked by #7766

Referral: Sharing as referral #7777

HIM92 opened this issue May 9, 2024 · 4 comments · Fixed by #10312
Assignees
Labels
2 Half day task enhancement New feature or request needs estimate refined
Milestone

Comments

@HIM92
Copy link

HIM92 commented May 9, 2024

Description

When a user shares a thread or a community, their referral code is appended to it so that whenever I share content, and users click that content, visit common, and create an account they count as this user's referrals

Project Owner

@HIM9289

Bucket ID

#7766

User Stories / Acceptance Criteria

As a referrer on Common, I share a thread or a community just to a telegram group I am a part of. I have not gone through the referral link process. When my friends click the link, they are taken to Common and met wiht the onboarding modal after ten seconds. If they join Common they count as one of my referrals and receive the benefits of joining via referral link. I receive a revenue fee split from any and all transactions they may execute on the platform, for life.

Design Devlink

https://www.figma.com/file/Vr3dv2IjUFSonyxZdwzfVU/Referral-Program?type=design&node-id=234-4556&mode=design&t=hMVCNvvXJuSSZuOt-0

Design Screenshot

Screenshot 2024-05-09 at 1 16 48 PM

Additional Context

No response

@HIM92 HIM92 added this to the Referrals milestone May 9, 2024
@HIM92 HIM92 mentioned this issue May 9, 2024
15 tasks
@ForestMars ForestMars changed the title Sharing as referral Referral: Sharing as referral Jun 27, 2024
@masvelio
Copy link
Contributor

  1. We need to have share buttons that support that as we need to:
  • generate referral code
  • build the link
  • save it in the clipboard or share it with social apps

We can't simply add the code to the url when it is being pasted. We need to add the code when it is copied/saved to the clipboard. Thus, we need to define places in the app where those kind of buttons will appear.

  1. Should we consider referral to be successful only when user creates an account right after clicking the referral URL? What if user opts out from creating account process and creates it in one hour? So basically, should we try to implement some localStorarage/cookie solution to keep the referral around in the user's browser?

@dillchen
Copy link
Contributor

Probably need to be discussed with platform tmr as a parking lot item. I will bring this up then

@sssssabinaaa
Copy link
Contributor

Probably need to be discussed with platform tmr as a parking lot item. I will bring this up then

Let me know if this ends up needing a design solution!

@masvelio masvelio assigned masvelio and unassigned mzparacha Nov 26, 2024
@dillchen
Copy link
Contributor

dillchen commented Dec 2, 2024

Question #1

We need to have share buttons that support that as we need to:
generate referral code
build the link
save it in the clipboard or share it with social apps

Answer:

We already have share buttons and items that create associated share links. see image. This ofc is for a thread, but we will have it for profiles and for communities #9989 and #9988

image

in these three locations we should generate the referral link and use the components for #10051 (on community and for threads, we ofc should use the community link), and for the profile (we should use the site)


Question #2

Should we consider referral to be successful only when user creates an account right after clicking the referral URL? What if user opts out from creating account process and creates it in one hour? So basically, should we try to implement some localStorarage/cookie solution to keep the referral around in the user's browser?

Was originally considering only upon after referral creation, but I am okay with a 14 day window. Let's use a local storage solution. if it needs other tickets, can you stub them and add to the milestone


Add'l context

https://www.figma.com/design/Vr3dv2IjUFSonyxZdwzfVU/Referral-Program?node-id=234-9289&t=DHfnOROq31eF65Zd-4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 Half day task enhancement New feature or request needs estimate refined
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants