Registry / analytics / segmentio-analytics-go-v3

segmentio-analytics-go-v3

JSON →
library3.3.0gogounverified

A Go client for Segment's analytics API to track events and identify users.

go get gopkg.in/segmentio/analytics-go.v3
INSTALL
IMPORT
SIG · SEGMENTIO-ANALYTIC
S
segmentio-analytics-go-v3
analyticsgov3.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

analytics
gopkg.in/segmentio/analytics-go.v3

Track an event with Segment

package main import ( "fmt" "gopkg.in/segmentio/analytics-go.v3" ) func main() { client, _ := analytics.New("YOUR_WRITE_KEY") defer client.Close() client.Enqueue(analytics.Track{ Event: "Test Event", UserId: "user123", }) fmt.Println("Event tracked") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
32
OpenAI (training)
1
Resources
segmentio-analytics-go-v3 — go get segmentio-analytics-go-v3 · libregistry