OpenArchive / Save-app-android-old

This is the Save app for Android
https://open-archive.org
GNU General Public License v3.0
94 stars 25 forks source link

Extend Clean Insights measurements #491

Open tladesignz opened 1 year ago

tladesignz commented 1 year ago

Howdy,

Are you set to do the code implementation for iOS? And can you work with uniq on getting the Android one done as well? As I understand it, the data points to collect are:

  • Which backends folks are using. I would consider this to be collecting when a user sets up a new backend (each setup of a backend would count, so if they have 2 Next Cloud, that's 2 events). I would assume doing this on a weekly cadence would be sufficient.
  • "How much data is being uploaded". I would consider this to be collecting the sum of uploads per week per backend. E.g. at the end of the week, reporting "John uploaded 3 things to NextCloud and 1 to the Internet Archive".

Ofc, y'all know better than I your use case so do what suits you :-)

tladesignz commented 1 year ago

The consent screen is not up to par with iOS, yet.

ryjen commented 7 months ago

I am wondering if clean insights could also do some basic error reporting to see the impact of a bad experience.

Specifically, upload failures. Let me know what you think. @tladesignz @foundscapes

tladesignz commented 7 months ago

Hmmm. Not sure what you actually want to achieve.

CleanInsights is an anonymizing analytics tool. It will purposefully degrade the resolution of taken measurements (e.g. it will only tell you that something happened x times in a certain time period, not report every event) and strip identifying information like IP addresses.

The main reason we actually added it is, to do GuardianProject a favour. I don't think, anybody here seriously looks at the accrued data, currently, besides maybe John, the project lead of CleanInsights. Maybe, someone(tm) should start doing that, though.

Before you start thinking something like, "hey, let's add Google Analytics then", please be aware, that the target audience of this app is people, who may be under heavy state surveillance or politically persecuted, and people, who are from the digital rights/privacy movement. Adding privacy invading libs to Save won't fly with these folks.

Also, our sponsors are from this area, and wouldn't really appreciate anything like that, AFAIU.

ryjen commented 7 months ago

Yes, I see. I was trying to achieve some data for priority or UX, and I suppose that's why I was asking if CleanInsights could be used for such a purpose, but I did not realize it was purposefully degrading as well. Thanks.

tladesignz commented 7 months ago

Still, CleanInsights could give you some... insights. :-) We're already recording upload failures:

You can find the CleanInsights backend here: https://github.com/OpenArchive/Save-app-android/blob/master/app/src/main/assets/cleaninsights.json#L2 (sans the cleaninsights.php, that's the API endpoint for the CleanInsights library.)

Let me know via Signal, if you want an account there to look at the data, then I'll get you in touch with John.