analyticsevent

package
v1.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

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 (*AnalyticsEvent) Load

func (e *AnalyticsEvent) Load(ps []datastore.Property) (err error)

func (*AnalyticsEvent) Save

func (e *AnalyticsEvent) Save() (ps []datastore.Property, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL