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

Add new events to google analytics #279

Open
prayagd opened this issue Nov 13, 2024 · 2 comments
Open

Add new events to google analytics #279

prayagd opened this issue Nov 13, 2024 · 2 comments

Comments

@prayagd
Copy link
Collaborator

prayagd commented Nov 13, 2024

Context

There are some new events that are missing for tracking, this ticket to implement those

Requirement

  • Get the user's wallet address -> dataLayer.push({'walletAddress': <address>});
  • For the "to_amount" from the "transaction confirmation" event, currently captures the Forex AMM quote replace it with Final quote after fees.
  • Add one parameter to the "transaction failure" event, called "error_msg" which captures the error why the transaction failed
  • Add one more event "compare_quote", when the user clicks on the "Compare fees" button
    • from_asset
    • to_asset
    • from_amount
    • to_amount
    • transak_quote
    • moonpay_quote
    • alchempy_quote

Reference

image

@prayagd
Copy link
Collaborator Author

prayagd commented Nov 14, 2024

@TorstenStueber
Copy link
Member

TorstenStueber commented Nov 14, 2024

Add one more event "compare_quote", when the user clicks on the "Compare fees" button

So only on the press of the button, not when they change the input amount afterwards?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants