Documentation ¶
Index ¶
- func GetActiveVisitors() ([]pirsch.Stats, int)
- func GetBrowser(startDate, endDate time.Time) []pirsch.BrowserStats
- func GetCountry(startDate, endDate time.Time) []pirsch.CountryStats
- func GetHourlyVisitorsToday() (template.JS, template.JS)
- func GetLanguages(startDate, endDate time.Time) []pirsch.LanguageStats
- func GetOS(startDate, endDate time.Time) []pirsch.OSStats
- func GetPageVisits(startDate, endDate time.Time) ([]PageVisitors, []PageVisitors)
- func GetPlatform(startDate, endDate time.Time) *pirsch.VisitorStats
- func GetReferrer(startDate, endDate time.Time) []pirsch.ReferrerStats
- func GetTotalVisitors(startDate, endDate time.Time) (template.JS, template.JS, template.JS, template.JS)
- func GetVisitorTimeOfDay(startDate, endDate time.Time) ([]pirsch.TimeOfDayVisitors, int)
- func NewTracker() (*pirsch.Tracker, context.CancelFunc)
- type PageVisitors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActiveVisitors ¶
func GetBrowser ¶
func GetBrowser(startDate, endDate time.Time) []pirsch.BrowserStats
func GetCountry ¶
func GetCountry(startDate, endDate time.Time) []pirsch.CountryStats
func GetLanguages ¶
func GetLanguages(startDate, endDate time.Time) []pirsch.LanguageStats
func GetPageVisits ¶
func GetPageVisits(startDate, endDate time.Time) ([]PageVisitors, []PageVisitors)
func GetPlatform ¶
func GetPlatform(startDate, endDate time.Time) *pirsch.VisitorStats
func GetReferrer ¶
func GetReferrer(startDate, endDate time.Time) []pirsch.ReferrerStats
func GetTotalVisitors ¶
func GetVisitorTimeOfDay ¶
func GetVisitorTimeOfDay(startDate, endDate time.Time) ([]pirsch.TimeOfDayVisitors, int)
func NewTracker ¶
func NewTracker() (*pirsch.Tracker, context.CancelFunc)
Types ¶
Click to show internal directories.
Click to hide internal directories.