Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Guardfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.