Install Mixpanel
Overview
Installing Mixpanel is easy. This guide will show you how to do it with our SDKs.
Already collect product data? Connect your Data Warehouse or via 3rd Party Integrations.
Code
Choose from the methods below. Not sure how to choose? Read our guide.
Install the SDK
gem install mixpanel-ruby
Configure the SDK
Replace YOUR_TOKEN
with your project token. You can find your token here (opens in a new tab).
require 'mixpanel-ruby'
mp = Mixpanel::Tracker.new(YOUR_TOKEN)
Last updated on
Was this page useful?