No description, website, or topics provided.
Ruby
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Guardfile
README.md
Rakefile
mixpanel_rails.gemspec

README.md

Deprecated: Use Event Tracker instead.

Mixpanel Rails

Super simple mixpanel integration with Rails that we use for Doorkeeper and others.

Usage

YourApplication::Application.config.mixpanel_rails.token = "mixpanel_token"

class YourApplication < ApplicationController
  use_mixpanel
end

track_with_mixpanel "some event" # track some event, can use in controller and handles redirects
register_with_mixpanel["property"] = "value" # register a property with mixpanel