Versions in this module Expand all Collapse all v0 v0.22.0 Aug 26, 2026 Changes in this version + type Analytics struct + func New(cfg *config.Config, client api.ClientWithResponsesInterface, projectID string) *Analytics + func (a *Analytics) Enabled() bool + func (a *Analytics) Identify(options ...Option) + func (a *Analytics) Track(event string, options ...Option) + type Option func(properties map[string]any) + func Error(err error) Option + func FlagSet(flagSet *pflag.FlagSet) Option + func Map(m map[string]any) Option + func Property(key string, value any) Option