Skip to content
No description or website provided.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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
Something went wrong with that request. Please try again.