Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
Branch: master
Failed to load latest commit information.
lib bump version
spec
.gitignore basic testing and don't add distinct id if it doesn't exist
Gemfile
Guardfile
README.md Update README.md
Rakefile
mixpanel_rails.gemspec test external redirect

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
Something went wrong with that request. Please try again.