Documentation ¶
Index ¶
- func Archive()
- func CreateBrowserTotals(since string)
- func CreateLanguageTotals(since string)
- func CreatePageviewTotals(since string)
- func CreateReferrerTotals(since string)
- func CreateScreenTotals(since string)
- func CreateVisitorTotals(since string)
- func Pageviews(before int64, after int64) int
- func RealtimeVisitors() int
- func TotalReferrers(before int64, after int64) int
- func TotalUniqueBrowsers(before int64, after int64) int
- func TotalUniqueLanguages(before int64, after int64) int
- func TotalUniqueScreens(before int64, after int64) int
- func Visitors(before int64, after int64) int
- type Point
- func Browsers(before int64, after int64, limit int) []Point
- func Languages(before int64, after int64, limit int) []Point
- func PageviewsPerDay(before int64, after int64) []Point
- func Referrers(before int64, after int64, limit int) []Point
- func Screens(before int64, after int64, limit int) []Point
- func VisitorsPerDay(before int64, after int64) []Point
- type Total
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBrowserTotals ¶
func CreateBrowserTotals(since string)
CreateBrowserTotals aggregates screen data into daily totals
func CreateLanguageTotals ¶
func CreateLanguageTotals(since string)
CreateLanguageTotals aggregates screen data into daily totals
func CreatePageviewTotals ¶
func CreatePageviewTotals(since string)
CreatePageviewTotals aggregates pageview data for each page into daily totals
func CreateReferrerTotals ¶
func CreateReferrerTotals(since string)
CreateReferrerTotals aggregates screen data into daily totals
func CreateScreenTotals ¶
func CreateScreenTotals(since string)
CreateScreenTotals aggregates screen data into daily totals
func CreateVisitorTotals ¶
func CreateVisitorTotals(since string)
CreateVisitorTotals aggregates visitor data into daily totals
func RealtimeVisitors ¶
func RealtimeVisitors() int
RealtimeVisitors returns the total number of visitors in the last 3 minutes
func TotalReferrers ¶
TotalReferrers returns the total # of referrers between two given timestamps
func TotalUniqueBrowsers ¶
TotalUniqueBrowsers returns the total # of unique browsers between two given timestamps
func TotalUniqueLanguages ¶
TotalUniqueLanguages returns the total # of unique browser languages between two given timestamps
func TotalUniqueScreens ¶
TotalUniqueScreens returns the total # of screens between two given timestamps
Types ¶
type Point ¶
Point represents a data point, will always have a Label and Value
func PageviewsPerDay ¶
PageviewsPerDay returns a slice of data points representing the number of pageviews per day
func VisitorsPerDay ¶
VisitorsPerDay returns a point slice containing visitor data per day