Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

[Affiliate] Show a user info about affiliate link owner #1708

Closed
elena-zh opened this issue Oct 27, 2021 · 6 comments
Closed

[Affiliate] Show a user info about affiliate link owner #1708

elena-zh opened this issue Oct 27, 2021 · 6 comments
Assignees
Labels
app:CowSwap CowSwap app Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system Protofire Handled by Protofire development team

Comments

@elena-zh
Copy link

Currently, we do not indicate which affiliate link user is following and under which link the 1st trade was done.

Even if we follow the same link once again, we will see the common message 'Invalid affiliate code: The currently connected wallet has traded before or is already part of the affiliate program.'

So it would be nice to add an info about affiliate link user followed into the Profile details page.
Also, show a different banner to a user when he/she follow the same link after a successful trade.
Something like 'Affiliate program: You have already traded with this affiliate code' or so

@elena-zh elena-zh added app:CowSwap CowSwap app Protofire Handled by Protofire development team Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system labels Oct 27, 2021
@alfetopito alfetopito mentioned this issue Oct 27, 2021
25 tasks
@alfetopito
Copy link
Contributor

I think the first step is to display in the profile page the address of the referrer (the one whose link you have followed) in your profile page, if any.

@alongoni
Copy link
Contributor

alongoni commented Dec 15, 2021

Maybe we can add a: "Referred by:address/ens domain" info.
I've made the design taking in account the last changes added by @matextrem in PR #1935
Option 1: referral info at the bottom. (I like this option)
referrallink2
Option 2: referral info at the top, beside the link to the order explorer.
referrallink1

@elena-zh
Copy link
Author

elena-zh commented Dec 15, 2021

As another option, we could redesign 'Your referral URL section:

  • Rename it to 'Referral program' or so
  • Add a field 'Your referral URL' with a referral link and copy icon
  • Add a field 'You referred by' with an address/ENS name info
    image

@alfetopito , @alongoni , WDYT?

@alfetopito
Copy link
Contributor

I like Agustin's first proposal, with the address at the bottom right.

@biocom @anxolin thoughts?

@fairlighteth
Copy link
Contributor

I would go with this approach:

Screen Shot 2021-12-16 at 15 59 05

@anxolin
Copy link
Contributor

anxolin commented Dec 16, 2021

Im also in favour of option 2. Is this something that is common to show? like the user who brought you in? I normally haven't seen this. Is this something we feel strong it adds value?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
app:CowSwap CowSwap app Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system Protofire Handled by Protofire development team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants