Want to understand how people use your freemium SaaS? Mixpanel events can help. Let's set them up.
What are Mixpanel Events?
Mixpanel events are actions users take in your SaaS. You can track and analyze these actions.
Why Track Events for Freemium SaaS?
- See what features free users like
- Understand what makes users upgrade
- Find where users get stuck
Setting Up Mixpanel Events: Step by Step
Step 1: Sign Up for Mixpanel
- Go to mixpanel.com
- Click "Start for free"
- Fill in your details
- Choose "Web" as your platform
Step 2: Install Mixpanel
- In Mixpanel, go to "Project Settings"
- Find your Project Token
- Add Mixpanel's code to your SaaS website
Step 3: Plan Your Events
Think about important actions in your SaaS:
- Sign Up
- Feature Use
- Upgrade to Paid Plan
- Cancel Account
Step 4: Implement Basic Events
For each event:
- In your code, find where the action happens
- Add this Mixpanel code:
mixpanel.track("Event Name", {
"Property1": "Value1",
"Property2": "Value2"
});
Example for Sign Up:
mixpanel.track("Sign Up", {
"Plan": "Free",
"Referral Source": "Google"
});
Step 5: Set Up User Profiles
When a user signs up:
mixpanel.identify(userId);
mixpanel.people.set({
"$email": userEmail,
"Plan": "Free"
});
Step 6: Track Freemium-Specific Events
Feature Usage:
mixpanel.track("Feature Used", {
"Feature Name": "Export Data",
"Plan": "Free"
});
Upgrade:
mixpanel.track("Upgrade", {
"From Plan": "Free",
"To Plan": "Pro",
"Days as Free User": 30
});
Step 7: Create Basic Reports
In Mixpanel:
- Go to "Insights"
- Click "Create new"
- Choose "Trends"
- Select events like "Sign Up" and "Upgrade"
Step 8: Set Up Funnels
- Go to "Funnels"
- Click "Create new"
- Add steps like: Sign Up > Use Key Feature > Upgrade
Tips for Success
- Start with a few key events
- Use clear, consistent naming
- Regularly check your data for insights
Wrap Up
Tracking events with Mixpanel helps you understand your freemium SaaS users. Use this data to improve your product and increase upgrades.
Next step: Share your Mixpanel insights with your team. Use the data to make product decisions.