Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Failed to load latest commit information.
lib
spec test external redirect
.gitignore basic testing and don't add distinct id if it doesn't exist
Gemfile initial commit
Guardfile add guard
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.