Commit Graph

16 Commits

Author SHA1 Message Date
Danny van Kooten bca066b614 improved referrer parsing. match hostname against blacklist using community-maintained blacklist file graciously provided by Matomo (https://github.com/matomo-org/referrer-spam-blacklist). closes #170 relates to #154 2018-11-09 10:39:14 +01:00
Danny van Kooten ce8f585827 sqlstore GetXStats funcs should return nil when there are 0 results. #50 2018-10-10 09:02:32 +02:00
Danny van Kooten 80088570b0 default to site_id 1, even though it may not exist yet 2018-10-05 16:07:15 +02:00
Danny van Kooten 53c1702d0d only re-fetch data when needed 2018-10-05 15:13:48 +02:00
Danny van Kooten 876309ae59 clean-up sqlstore pkg 2018-10-05 14:34:39 +02: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 b6aa00caef add tests for aggregating referrer stats 2018-08-09 15:04:38 +02:00
Danny van Kooten 8313c64610 add tests for aggregating page-specific stats 2018-08-09 14:57:35 +02:00
Danny van Kooten 2ccbfbf372 add tests for aggregating site-wide stats 2018-08-09 14:43:42 +02:00
Danny 9db5b3808a return number of processed pageview from aggregator.Run 2018-06-01 12:12:15 +02:00
Danny bc86088607 set group during aggregation 2018-06-01 11:44:20 +02:00
Danny 071ea5ace0 split hostname and pathname in referrers table 2018-05-30 12:50:28 +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 van Kooten 3b8a884991 godoc improvements 2018-05-21 11:54:01 +02:00
Danny c30e5b3120 introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29 2018-05-15 13:30:37 +02:00
Danny 69fc3e7aa1 implement results type container 2018-05-14 15:31:33 +02:00