Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dukex/mixpanel
Golang Mixpanel Client
https://github.com/dukex/mixpanel
Last synced: 10 days ago
JSON representation
Golang Mixpanel Client
- Host: GitHub
- URL: https://github.com/dukex/mixpanel
- Owner: dukex
- License: mit
- Created: 2014-05-20T03:50:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T15:37:57.000Z (over 1 year ago)
- Last Synced: 2024-07-31T20:53:21.144Z (3 months ago)
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 60
- Watchers: 3
- Forks: 33
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-go - mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. (Third-party APIs / Utility/Miscellaneous)
- awesome-go - mixpanel - Golang Mixpanel Client - ★ 25 (Third-party APIs)
- awesome-go-extra - mixpanel - 05-20T03:50:34Z|2022-08-24T23:12:39Z| (Third-party APIs / Fail injection)
README
# Mixpanel Go Client
## Usage
``` go
import "github.com/dukex/mixpanel"
```
--[documentation on godoc](http://godoc.org/github.com/dukex/mixpanel)
## Examples
Track
``` go
err := client.Track("13793", "Signed Up", map[string]interface{}{
"Referred By": "Friend",
})
```
--Identify and Update Operation
``` go
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](http://opensource.org/licenses/MIT).
## Author
Duke X ([dukex](http://github.com/dukex))