mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 14:50:27 +00:00
Fixed bounce/session statistics and updated pirsch to dev version.
This commit is contained in:
@@ -168,11 +168,11 @@ func getLabelsAndData(visitors []pirsch.Stats) (template.JS, template.JS, templa
|
||||
labelsStr := labels.String()
|
||||
dataStr := dp.String()
|
||||
sessionsStr := sessions.String()
|
||||
bouncesStr := sessions.String()
|
||||
bouncesStr := bounces.String()
|
||||
return template.JS(labelsStr[:len(labelsStr)-1]),
|
||||
template.JS(dataStr[:len(dataStr)-1]),
|
||||
template.JS(sessionsStr[:len(sessionsStr)-1]),
|
||||
template.JS(bouncesStr[:len(sessionsStr)-1])
|
||||
template.JS(bouncesStr[:len(bouncesStr)-1])
|
||||
}
|
||||
|
||||
func getLabelsAndDataHourly(visitors []pirsch.VisitorTimeStats) (template.JS, template.JS) {
|
||||
|
||||
Reference in New Issue
Block a user