GoodDollar / GoodDAPP

GoodDollar.org Wallet is the simplest access point to Claim your daily G$. It Is based on web3 and React native web.
good-dapp.vercel.app
MIT License
100 stars 53 forks source link

track when users copies the address in the wallet #4154

Closed drptiago closed 7 months ago

drptiago commented 8 months ago

We want to track every time the user copies the address and from where they are coping @L03TJ3

So let's implement the event COPY_ADDRESS and add a parameter "source" from where this come from: exportWallet receive myprofile

Related to https://github.com/GoodDollar/GoodDAPP/issues/4139

patpedrosa commented 8 months ago

@drptiago Is private key copy tracking on a separate issue or part of this one?

drptiago commented 8 months ago

Another one add specifically to the private key https://github.com/GoodDollar/GoodDAPP/issues/4159

L03TJ3 commented 8 months ago

got added here: https://github.com/GoodDollar/GoodDAPP/commit/ac4bff56e82b83cdfe51896b436268b7ae8daf45

drptiago commented 8 months ago

Working on PROD

GA and AMPLITUDE are receiving the event COPY_ADDRESS with the properties: myprofileAND exportWallet

BUT in the receive screen ( screen shot) there is no button to copy the address @L03TJ3, I am not sure if this is a bug or was decided to not include the button here.

If this button will exist, the event will be COPY_ADDRESS with the source receive image

L03TJ3 commented 8 months ago

@drptiago now this was supposed to show a copy button is fixed now here: https://github.com/GoodDollar/GoodDAPP/commit/dca44de4fa73ebd1368faae1f700d1f9259f2b97 (will be part of today's hotfix)

L03TJ3 commented 7 months ago

@drptiago can you verify this is working now?

drptiago commented 7 months ago

It's working on production.