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

Usage analytics #80

Closed
5 of 8 tasks
bajtos opened this issue Aug 30, 2022 · 11 comments · Fixed by #126
Closed
5 of 8 tasks

Usage analytics #80

bajtos opened this issue Aug 30, 2022 · 11 comments · Fixed by #126
Assignees
Labels
enhancement New feature or request Station
Milestone

Comments

@bajtos
Copy link
Member

bajtos commented Aug 30, 2022

We want to record analytics to better understand usage patterns, for example how many people were not able to complete the onboarding flow.

Tasks:

  • Setup infrastructure to gather events and visualise them
  • Modify Station UI to report the following events
    • a user starts the app (the onboarding flow)
    • the user closes the app at the screen “Enter FIL”
  • Add a new paragraph to the Consent screen to describe what telemetry data is collected. If the consent screen is not implemented yet, then add a new subtask to the appropriate issue. Consent with telemetry & error reporting #118
@bajtos bajtos added enhancement New feature or request Station labels Aug 30, 2022
@bajtos bajtos added this to the Station M1 milestone Aug 30, 2022
@bajtos
Copy link
Member Author

bajtos commented Aug 30, 2022

@bajtos or @juliangruber should take a look at prior art and decide what tooling & infra we want to use for this.

@juliangruber
Copy link
Member

  • the user closes the app at the screen “Enter FIL”

-> Needs to be able to track exit pages

@juliangruber juliangruber self-assigned this Sep 1, 2022
@juliangruber
Copy link
Member

After browsing https://sentry.io/welcome/, I think Sentry isn't a good option for this. It's purpose is always error tracking, if usage of Station doesn't lead to an error then it's none of Sentry's concern. That's also why it doesn't have exit page tracking (there is never an error leaving the page), and launching the app isn't tracked either, unless it leads to an error. I know google analytics tracks all of this, but I will first look for other alternatives.

@juliangruber
Copy link
Member

juliangruber commented Sep 1, 2022

The open source tool Plausible offers exit pages:

Screenshot 2022-09-01 at 14 15 58

It also provides other metrics useful for Station, eg

  • Conversions
  • Pageviews
  • Screen Size
  • Visit Duration

Having used Plausible before, I think it will work for us, but I want to do some further research. We can self-host it or use their SaaS, which should be fine at $9/m for 10k monthly pageviews.

Here is a live demo.

@juliangruber
Copy link
Member

IPFS Desktop uses Countly, which offers a free and self-hosted version as well. I think it offers more features than Plausible, but also looks somewhat more outdated. We would like have to self-host this, as they only offer an enterprise hosted plan.

@juliangruber
Copy link
Member

@hacdias 👋 I saw you implemented Countly in IPFS Desktop here. This is the first time I've heard of Countly. Would you recommend us to go the same way? Thank you!

@bajtos
Copy link
Member Author

bajtos commented Sep 1, 2022

I have good experience with Plausible too 👍🏻

I vaguely remember @patrickwoodhead mentioning some issues with Countly and that perhaps we should look into other options, but I don't recall any details 😞

@hacdias
Copy link

hacdias commented Sep 1, 2022

@juliangruber there are currently some bugs in our implementation in IPFS Desktop + Web UI. Furthermore, we (I?) haven't been using the statistics actively, so it's hard to recommend it or not. I think the main driver to use them on Desktop was the fact that they were being used with Web UI too and they were self-hosted.

@juliangruber
Copy link
Member

@hacdias thank you for providing context! 🙏
@patrickwoodhead if we go with Plausible, do you think we should go with SaaS which means less work for us, or self hosted, which means more privacy (or first the former than the latter?)

@juliangruber
Copy link
Member

also @patrickwoodhead, since you apparently had some issues with Countly, could you check whether Plausible answers your questions better?

@patrickwoodhead
Copy link
Collaborator

@bajtos @juliangruber, I didn't have any issues with Countly. It is just that the maintanier of the IPFS Countly account stopped maintaining it and so I think some teams moved off it. We can use Countly or Plausible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Station
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants