📚 mixpanel - Awesome Go Library for Third-party APIs

Go Gopher mascot for mixpanel

Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications

🏷️ Third-party APIs
📂 Third-party APIs
0 stars
View on GitHub 🔗

Detailed Description of mixpanel

Mixpanel Go Client

⚠️ Use oficial mixpanel SDK: https://docs.mixpanel.com/docs/tracking-methods/sdks/go

Usage

import "github.com/dukex/mixpanel"

--

documentation on godoc

Examples

Track

err := client.Track("13793", "Signed Up", map[string]interface{}{
	"Referred By": "Friend",
})

--

Identify and Update Operation

people := client.Identify("13793")

err := people.Track(map[string]interface{}{
	"Buy": "133"
})

err := people.Update("$set", map[string]interface{}{
	"Address":  "1313 Mockingbird Lane",
	"Birthday": "1948-01-01",
})

License

Released under the MIT License.

Author

Duke X (dukex)