omni-amplitude

module
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

README

Omni-Amplitude

Go CI Go Lint Go SAST Go Report Card Docs Visualization License

Amplitude integrations for the PlexusOne omni* family.

Packages

Package Description
omnidxi DXI adapter for Amplitude analytics

Installation

go get github.com/plexusone/omni-amplitude/omnidxi

Usage

import (
    "context"

    "github.com/plexusone/omni-amplitude/omnidxi"
    core "github.com/plexusone/omnidxi-core"
)

func main() {
    ctx := context.Background()

    // Create Amplitude tracker
    tracker := omnidxi.New(core.WithAPIKey("your-amplitude-api-key"))
    defer tracker.Close()

    // Track an event
    event := core.NewEvent(core.EventTypePageView, "Home Viewed").
        WithUserID("user_123").
        WithProperty("source", "direct")

    tracker.Track(ctx, event)

    // Flush before exit
    tracker.Flush(ctx)
}

License

MIT

Directories

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

Jump to

Keyboard shortcuts

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