Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnalyticsEvent ¶
type AnalyticsEvent struct {
mixin.Model[AnalyticsEvent]
analyticsidentifier.Ids
SessionId string `json:"sessionId"`
PageId string `json:"pageId"`
PageViewId string `json:"pageViewId"`
Timestamp time.Time `json:"timestamp"`
CalculatedTimestamp time.Time `json:"-"`
Name string `json:"name"` // Event appended with special data (used by pageview and pageleave)
Event string `json:"event"`
Data Map `json:"data" datastore:"-" orm:"default:{}"`
Data_ string `json:"-" datastore:",noindex"`
RequestMetadata client.Client `json:"requestMetadata"`
}
func New ¶
func New(db *datastore.Datastore) *AnalyticsEvent
Click to show internal directories.
Click to hide internal directories.