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 analytics #5805

Merged
merged 13 commits into from
Jun 11, 2024
Merged

Add analytics #5805

merged 13 commits into from
Jun 11, 2024

Conversation

walmat
Copy link
Contributor

@walmat walmat commented Jun 3, 2024

Fixes APP-1233

What changed (plus any additional context for devs)

Adds analytical events to track critical swaps path

Screen recordings / screenshots

What to test

@walmat walmat added the swaps v2 label Jun 3, 2024
@walmat walmat requested a review from benisgold as a code owner June 3, 2024 14:46
Copy link

linear bot commented Jun 3, 2024

Copy link
Member

@brunobar79 brunobar79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Following up on Christian's comments, the takeway is there's certain events where we only want to know the (final) values right at the time execution.

That's enough data to derive stuff like slippage, where we could create a query on the analytics platform to see if people are using a different value than the default, etc.

Same for the search query, the final result is what matter.

src/__swaps__/screens/Swap/components/SearchInput.tsx Outdated Show resolved Hide resolved
Copy link
Member

@brunobar79 brunobar79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@walmat walmat merged commit ae62ef9 into develop Jun 11, 2024
6 checks passed
@walmat walmat deleted the @matthew/APP-1233 branch June 11, 2024 20:57
BrodyHughes added a commit that referenced this pull request Jun 13, 2024
…bow into brody/lint-on-pre-commit

* 'brody/lint-on-pre-commit' of github.com:rainbow-me/rainbow:
  Math related fixes (#5837)
  Hide Flashbots outside of mainnet (#5842)
  fix getProviderForNetwork type (#5843)
  Fix isSwapping not being reset (#5840)
  Swaps: fix crashes, logic and UI fixes (#5839)
  default to fast suggestion if custom is not set (#5841)
  guard each entry point into swaps to prevent readonly wallets from accessing it (#5835)
  Swaps: token list and search improvements (#5834)
  Add analytics (#5805)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants