openoakland / OakCrime-Decommissioned

Code supporting citizen analysis of crime in Oakland, CA
22 stars 16 forks source link

Server-side analytics #106

Closed rbelew closed 3 years ago

rbelew commented 4 years ago

Motivated by privacy concerns as well as supporting deeper analysis of OakCrime usage, server-side analytic solutions would almost certainly be superior to the simple GoogleAnalytics used now. https://davidmburke.com/2017/11/26/server-side-tracking-with-piwik-and-django/

[Commit "regress to client-side #GoogleAnalytics" https://github.com/openoakland/OakCrime/commit/13e32366a9b531e5830b5c8258c30729326e0985

gave up on trying to make server-side analytics work. Solutions like

It seems like something like Celery will also be necessary to separate database/analysis computations from the thread running the active web query.