Commit Graph

15 Commits

Author SHA1 Message Date
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
Danny 2c09050d74 move should-collect logic into func so it can be tested 2018-05-14 10:14:43 +02:00
Danny 05a159da7f skip missing referrer values. closes #26 2018-05-14 10:06:53 +02:00
Danny e73a205d26 run the aggregator every minute since we only need the last pageview of every visitor for determining distinct realtime visitor count 2018-05-09 10:36:05 +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 0a0476b5ae store accurate new session count & use that to determine bounce rate 2018-05-08 11:52:01 +02:00
Danny 433c6e2f4d get general data flow up & running again for site stats 2018-05-07 16:05:53 +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
Danny 5a403d536a first stab at time on site tracking. #20 2018-05-04 15:43:05 +02:00
Danny 86e5a7a957 simple bounce rate implementation. #21 2018-05-04 12:20:37 +02:00
Danny d76cb6f24d stop storing ip address & browser version details. 2018-05-02 15:33:01 +02:00
Danny b3ee15cc9a universal error handling in api pkg by returning errs from http handlers 2018-04-25 11:59:30 +02:00
Danny 4faf4f9498 rename all go import paths to new repository location 2018-04-24 10:28:23 +02:00
Danny 93b285c0a9 change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00