User avatar
Botspot
Posts: 1549
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

How to make a bash script send analytics?

Mon Oct 19, 2020 2:20 pm

I've developed this RPi app store called Pi-Apps, and just yesterday the downloads and views have increased by two orders of magnitude.

Now, I need to know how many people have installed each app. That way, I could see which apps are most popular, which ones are unpopular, etc.
What would be the best way to do this?

The solution cannot require installing extra software to work.
Any suggestions?

Maybe I could have a bit.ly link for each app, and wget pings that link during install, and then I could see the number of "clicks" per day on bitly.
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

trejan
Posts: 2969
Joined: Tue Jul 02, 2019 2:28 pm

Re: How to make a bash script send analytics?

Mon Oct 19, 2020 2:38 pm

A lot of people won't be too thrilled by the analytics unless you make it opt-in but then its useless.

User avatar
Botspot
Posts: 1549
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: How to make a bash script send analytics?

Mon Oct 19, 2020 2:42 pm

trejan wrote:
Mon Oct 19, 2020 2:38 pm
A lot of people won't be too thrilled by the analytics unless you make it opt-in but then its useless.
True. The type of analytics I'm looking to get are anonymous, like how Github does it with their clone counter. Just a graph displaying how many people cloned the repo during a 24-hour period.
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

Return to “Beginners”