This repository has been archived by the owner. It is now read-only.
mixpanel-crystal v0.3.1
mixpanel-crystal
mixpanel-crystal is a library for tracking events on Mixpanel from your crystal applications.
Installation
Add this to your application's shard.yml
:
dependencies:
mixpanel:
github: petoem/mixpanel-crystal
Usage
require "mixpanel"
# Use Mixpanel::Tracker to track events in your application. To track an event, use
tracker = Mixpanel::Tracker.new "YOUR_TOKEN"
tracker.track "Signup", Mixpanel::Event::Properties{"username" => "Pino", "Age" => 2}
You can also take a look at the specs for more examples or generate documentation with crystal docs
command.
Contributing
- Fork it ( https://github.com/petoem/mixpanel-crystal/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- petoem Michael Petö - creator, maintainer
Repository
mixpanel-crystal
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 5 years ago
- October 13, 2017
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 22:25:09 GMT
Languages