Danny van Kooten
e92b4b9a29
clean-up route & func names
2018-11-14 11:47:47 +01:00
Danny van Kooten
2ca1e0f36e
switch to hourly storage for stats.
...
- allows showing an hourly chart on the 'today' view
- fixes timezone issues when in 'today' view #134
- increases size of stats tables by factor 24, but that should be less of an issue after dbcadcd73772258f2d2fd781673e559d5ed74dba
2018-11-13 15:23:18 +01:00
Danny van Kooten
dbcadcd737
normalize hostname and pathname columns
...
to save on disk storage
2018-11-12 14:45:21 +01:00
Danny van Kooten
d4176de238
get aggregator to take site ID's into account
2018-10-05 14:19:11 +02:00
Danny van Kooten
f0eecc04cd
add sites table & site_id columns for multi-site tracking #50
2018-09-25 15:03:07 +02:00
Danny van Kooten
8313c64610
add tests for aggregating page-specific stats
2018-08-09 14:57:35 +02:00
Danny
df7496a80d
add known_durations column and use that for calculating duration averages, instead of total # pageviews
2018-05-28 15:31:40 +02:00
Danny
624e1f353a
fix json tag in models struct
2018-05-09 08:34:48 +02:00
Danny van Kooten
a8edcee54e
store avg time on site as float to not race to 0
2018-05-08 20:16:31 +02:00
Danny
b8ceff621d
store hostname so we can track multiple subdomains in one fathom instance, if needed
2018-05-08 13:08:16 +02:00
Danny
fe7eee2b73
clean-up data structure & add indices
2018-05-08 10:45:17 +02:00
Danny
dac50c3da9
start cleaning up & implement page stats again
2018-05-07 17:01:20 +02:00
Danny van Kooten
082073afb8
[wip] move bulk of storage to client-side for improved scalability, simplicity and privacy. see #14 .
2018-05-06 11:53:19 +02:00