Go
Go Lang SDK
Last updated
Go Lang SDK
Last updated
The Evntaly Go SDK provides an efficient and robust way to integrate event tracking, user identification, and analytics into your Go applications.
Install the Evntaly Go SDK using the Go package manager:
For custom event tracking, use the Track method.
Identify a user to associate events with a specific profile.
You can enable or disable event tracking globally.
NewEvntalySDK
Initializes the SDK with API credentials.
evntaly.NewEvntalySDK(token, projectName)
v1.0.0
Track
Tracks a custom event.
evntaly.Track(event)
v1.0.0
IdentifyUser
Identifies a user for analytics.
evntaly.IdentifyUser(user)
v1.0.0
DisableTracking
Disables all event tracking.
evntaly.DisableTracking()
v1.0.0
EnableTracking
Enables all event tracking.
evntaly.EnableTracking()
v1.0.0
Initialize early: Always initialize the SDK as early as possible.
Avoid sensitive data: Do not pass sensitive personal data directly to the SDK.
Monitor API limits: Regularly check API limits to avoid missing critical events.
Events not appearing: Check if the SDK is initialized correctly and the API tokens are valid.
Network errors: Ensure your network allows requests to https://evntaly.com
.
For additional help, contact support at support@evntaly.com.
Initialize the SDK with your Developer Secret and Project Token - Check