Re:Show HN: I spent 8 months building a self-hosted web anal...
by magnus_b on Friday May 04, 2018 @03:00PM
(#16997274)
I'm sorry I forgot to answer on the second part of your reply.
By default, the application uses SQLite.
So if your host provides PHP and SQLite, you just upload the app files and the app creates the database and the structure automatically.
If you want to use a MySQL database instead, there is a small config file where you can just enter your MySQL database access details. The app then sets everything up on its own again.
Re:Show HN: I spent 8 months building a self-hosted web anal...
by mtmail on Friday May 04, 2018 @11:03AM
(#16995063)
I saw empty demo pages as well. Turns out it tries to load a local /analytics.js file which my adblocker prevented.
Re:Show HN: I spent 8 months building a self-hosted web anal...
by magnus_b on Friday May 04, 2018 @11:07AM
(#16995103)
Thanks for the feedback. That would be an explanation that adblocks block the analytics.js file - I didn't think of that. Let me quickly do some modifications - I hope that it doesn't get blocked anymore. Thanks for your help.
Re:Show HN: I spent 8 months building a self-hosted web anal...
by magnus_b on Friday May 04, 2018 @11:11AM
(#16995140)
I made a few modifications to hopefully prevent this "adblocker-error". Would you be so kind to check again? Thanks.
Re:Show HN: I spent 8 months building a self-hosted web anal...
by fiatjaf on Friday May 04, 2018 @11:10AM
(#16995129)
Yes, exactly that. Thanks!
Re:Show HN: I spent 8 months building a self-hosted web anal...
by magnus_b on Friday May 04, 2018 @11:12AM
(#16995154)
Awesome! Does the demo work properly?
Re:Show HN: I spent 8 months building a self-hosted web anal...
by fiatjaf on Friday May 04, 2018 @01:12PM
(#16996238)
Yes, it does, and it is beautful. I however found it a little too slow.
Re:Show HN: I spent 8 months building a self-hosted web anal...
by magnus_b on Friday May 04, 2018 @02:57PM
(#16997256)
Awesome - thank you for this great feedback!
It might be a little bit slow at the moment because I have been working on the whole site constantly today.
Also the app does pull all the data in real-time so you always get the latest accurate metrics - which can take slightly longer compared to cached or estimated analytics data.
Re:Show HN: I spent 8 months building a self-hosted web anal...
by magnus_b on Saturday May 05, 2018 @12:55PM
(#17002600)
All issues should be solved now. Would be awesome if you were so kind to try again - everything should run fast and smooth now! Thank you very much for your patience.
Re:Show HN: I spent 8 months building a self-hosted web anal...
by magnus_b on Friday May 04, 2018 @11:03AM
(#16995062)
Thank you for your feedback. I will add some bigger screenshots - thanks for this idea!
The demo should be working however - if you go to the demo and click on "Traffic" for example there should be data.
I just checked again and it works for me. Could you try again please? Thank you very much!
Re:Show HN: I spent 8 months building a self-hosted web anal...
by magnus_b on Friday May 04, 2018 @11:12AM
(#16995149)
I did a few modifications - maybe it was an "adblocker" as well that prevented the demo to load for you. Would be so kind to try again? Thank you.
Re:Show HN: I spent 8 months building a self-hosted web anal...
by fiatjaf on Friday May 04, 2018 @11:07AM
(#16995107)
As a shameless self-promotion side-note, I have written https://trackingco.de/ too, which is kinda open-source too, but has a hosted version which is free while it's beta.
But mine is much simpler and has much less features, mostly because storage is not cheap and I wanted to optimize to it.
Also, I'm intrigued about the way the program must be deployed. "Upload the app files on my hosting" doesn't mean much, except if I'm a PHP user who has one of those all-PHP hosting accounts. What about the database?