Versions in this module Expand all Collapse all v1 v1.1.3 Mar 6, 2021 Changes in this version + const EventHitType + const ItemHitType + const PageViewHitType + const ScreenViewHitType + const SocialHitType + const TransactionHitType + func AddReporter(r ReportFunc) + func LogReporter(e *Event) + func TrackEvent(request *http.Request, client, category, action, label string, value int) + func TrackPageView(request *http.Request, client string) + type ClientRequest struct + Fingerprint string + Host string + IP string + Request string + UserAgent string + UserID string + func CreateClientRequest(request *http.Request) *ClientRequest + type Event struct + Client *ClientRequest + Timestamp int64 + Type string + Values map[string]string + type ReportFunc func(*Event)