https://github.com/dukex/mixpanel
Golang Mixpanel Client
https://github.com/dukex/mixpanel
Last synced: 11 months 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 (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T15:37:57.000Z (almost 3 years ago)
- Last Synced: 2024-07-31T20:53:21.144Z (over 1 year 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
- fucking-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-zh - mixpanel
- awesome-go-cn - mixpanel
- awesome-go-cn - mixpanel
- awesome-go - mixpanel - Golang Mixpanel Client - ★ 25 (Third-party APIs)
- 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 - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. (Third-party APIs / Utility/Miscellaneous)
- go-awesome-with-star-updatetime - mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. (Third-party APIs / HTTP Clients)
- awesome-go-cn - mixpanel
- awesome-go-extra - mixpanel - 05-20T03:50:34Z|2022-08-24T23:12:39Z| (Third-party APIs / Fail injection)
- awesome-go-with-stars - mixpanel - 01-27 | (Third-party APIs / Utility/Miscellaneous)
- awesome-go - mixpanel - | - | - | (Third-party APIs / HTTP Clients)
- awesome-go-cn - mixpanel
- awesome-go - mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. (Third-party APIs / Advanced Console UIs)
- awesome-Char - mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. (Third-party APIs / HTTP Clients)
- awesome-go - mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. (<span id="第三方api-third-party-apis">第三方API Third-party APIs</span> / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
- awesome-go-processed - mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications.| (Third-party APIs / Advanced Console UIs)
- awesome-go - mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. (Third-party APIs / HTTP Clients)
- fucking-awesome-go - :octocat: mixpanel - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. :star: 13 :fork_and_knife: 2 (Third-party APIs / Advanced Console UIs)
- 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-plus - 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 - 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 - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. - :arrow_down:4 - :star:14 (Third-party APIs / HTTP Clients)
- awesome-go-info - mixpanel
- 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 - Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. (Third-party APIs / Utility/Miscellaneous)
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))