import "github.com/dukex/mixpanel"
--
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",
})
Released under the MIT License.
Duke X (dukex)