mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 14:50:27 +00:00
Updated pirsch and added country statistics to tracking page.
This commit is contained in:
2
main.go
2
main.go
@@ -140,6 +140,7 @@ func serveTracking() http.HandlerFunc {
|
||||
Referrer []pirsch.ReferrerStats
|
||||
Browser []pirsch.BrowserStats
|
||||
OS []pirsch.OSStats
|
||||
Countries []pirsch.CountryStats
|
||||
Platform *pirsch.VisitorStats
|
||||
HourlyVisitorsTodayLabels template.JS
|
||||
HourlyVisitorsTodayDps template.JS
|
||||
@@ -159,6 +160,7 @@ func serveTracking() http.HandlerFunc {
|
||||
tracking.GetReferrer(startDate, endDate),
|
||||
tracking.GetBrowser(startDate, endDate),
|
||||
tracking.GetOS(startDate, endDate),
|
||||
tracking.GetCountry(startDate, endDate),
|
||||
tracking.GetPlatform(startDate, endDate),
|
||||
hourlyVisitorsTodayLabels,
|
||||
hourlyVisitorsTodayDps,
|
||||
|
||||
Reference in New Issue
Block a user