stefl/sinmetrics
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
sinmetrics: simple sinatra metrics helpers (c) 2010 Luke Petre (lpetre) === Usage require 'sinmetrics' require 'sinatra' mixpanel do token '4579...cbb0' end get '/' do mp.log_event( 'play', @user.id) "hello world" end === Features === Other Options === Standalone Usage require 'sinmetrics' mp = MixPanel.new( :token => '4579...cbb0', ) >> mp.log_event( 'play', 1234 ) => 1 === Special Thanks This library is *heavily* inspired by sinbook, http://github.com/tmm1/sinbook
About
kontagent, mixpanel, etc wrappers for sinatra
Resources
Stars
Watchers
Forks
Packages 0
No packages published