omnidxi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package omnidxi provides an Amplitude implementation of the omnidxi Tracker interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracker

type Tracker struct {
	// contains filtered or unexported fields
}

Tracker wraps the Amplitude analytics-go client with the omnidxi interface.

func New

func New(opts ...core.Option) *Tracker

New creates a new Amplitude tracker with the given options.

func (*Tracker) Alias

func (t *Tracker) Alias(ctx context.Context, alias core.Alias) error

Alias links two user identities. Note: Amplitude handles identity merging differently; this creates an alias event.

func (*Tracker) Close

func (t *Tracker) Close() error

Close shuts down the tracker and flushes pending events.

func (*Tracker) Flush

func (t *Tracker) Flush(ctx context.Context) error

Flush sends any buffered events to Amplitude.

func (*Tracker) Group

func (t *Tracker) Group(ctx context.Context, group core.Group) error

Group associates a user with a group.

func (*Tracker) Identify

func (t *Tracker) Identify(ctx context.Context, user core.User) error

Identify associates user properties with a user.

func (*Tracker) Info

func (t *Tracker) Info() core.TrackerInfo

Info returns metadata about this tracker.

func (*Tracker) Track

func (t *Tracker) Track(ctx context.Context, event core.Event) error

Track sends an event to Amplitude.

Jump to

Keyboard shortcuts

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