mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 14:50:27 +00:00
Added OS, browser, and system statistics to tracking page.
This commit is contained in:
6
main.go
6
main.go
@@ -157,6 +157,9 @@ func serveTracking() http.HandlerFunc {
|
||||
Pages []pirsch.Stats
|
||||
Languages []pirsch.Stats
|
||||
Referrer []pirsch.Stats
|
||||
Browser []pirsch.Stats
|
||||
OS []pirsch.Stats
|
||||
Platform *pirsch.Stats
|
||||
HourlyVisitorsLabels template.JS
|
||||
HourlyVisitorsDps template.JS
|
||||
HourlyVisitorsTodayLabels template.JS
|
||||
@@ -173,6 +176,9 @@ func serveTracking() http.HandlerFunc {
|
||||
tracking.GetPages(startDate, endDate),
|
||||
tracking.GetLanguages(startDate, endDate),
|
||||
tracking.GetReferrer(startDate, endDate),
|
||||
tracking.GetBrowser(startDate, endDate),
|
||||
tracking.GetOS(startDate, endDate),
|
||||
tracking.GetPlatform(startDate, endDate),
|
||||
hourlyVisitorsLabels,
|
||||
hourlyVisitorsDps,
|
||||
hourlyVisitorsTodayLabels,
|
||||
|
||||
Reference in New Issue
Block a user