SlideShare une entreprise Scribd logo
1  sur  51
Télécharger pour lire hors ligne
Intro to Mixpanel
Or, how can I understand what my users are doing?
Gilman Tolle
CTO & Co-Founder of Boon+Gable
500 Startups Batch 9
gil@boonandgable.com
Answer 3 Questions
• How many?
• How good?
• How often?
But first, some
background…
How It Works
User
Your App or
Site
Mixpanel
Client
View or
Tap or
Click
Your Backend
ServerDo Stuff
Mixpanel
Server
Track Event
You!
Send Event
Admin
Analytics
Internet
Events
Viewed Home Screen
Started Signup
Signed Up
Sent Message
Events
Read Message
Sent Message
Viewed Contacts
Viewed Conversation
8:05p
8:06p
8:07p
8:08p
8:08p
8:09p
8:10p
8:11p
Viewed Home Screen
Started Signup
8:14p
8:15p
5/2/2015
Boon+Gable Project
Events and Devices
Viewed Home Screen
Started Signup
Signed Up
Sent Message
Events
Read Message
Sent Message
Viewed Contacts
Viewed Conversation
8:05p
8:06p
8:07p
8:08p
8:08p
8:09p
8:10p
8:11p
Viewed Home Screen
Started Signup
8:14p
8:15p
5/2/2015
Boon+Gable Project
Events and People
Viewed Home Screen
Started Signup
Signed Up
Sent Message
Gilman Tolle
Events People
Read Message
Sent Message
Viewed Contacts
Viewed Conversation
Diane
Loviglio
8:05p
8:06p
8:07p
8:08p
8:08p
8:09p
8:10p
8:11p
Viewed Home Screen
Started Signup
8:14p
8:15p
5/2/2015
Boon+Gable Project
Basic Setup
Define Your Events
• You are responsible for defining and naming
your own events.
• Name them wisely.
• Cause you can’t change them.
• Ever.
Naming Guidelines
• Use human-friendly names! (e.g. “Signed Up”,
not “user_signup_192xq”)
• Think “what action did the user take that
triggered this event?”. Name it that.
Naming Guidelines
• Start with 5 core events:
• Acquisition: Viewed Home Screen
• Activation: Signed Up
• Retention: Sent a Message (or as appropriate)
• Revenue: Booked a Session (or as appropriate)
• Referral: Sent an Invite
Naming Guidelines
• Then flesh out your funnels with more detailed events
over time, once you trust the data on the core events.
• (e.g. Viewed Invite Screen -> did they find the screen
at all, then what % actually invited?)
• (or Signed Up then Added Profile Info then … what
% dropped off in the signup flow?)
• Go slowly. Build it up. Don’t just dump in a bunch of
crap events up front that you’ll see forever.
Implementation
• Ask your developer to add code to send the
right events at the right time.
• It’s easy:
• mixpanel.track(“Signed Up”)
• [[Mixpanel sharedInstance] track:@“Signed Up”]
• I have more developer details afterwards.
Implementation
• There’s one additional step to link your events to people.
• When a user first signs up, call “alias” to tell Mixpanel about your
internal database ID number for that user.
• Then, send that user’s data (name, email, phone, etc) to Mixpanel.
• Every event sent after that will be linked to the person, and every
event before the “alias” call (e.g. home page view) will be linked
too.
• And, every page view or app launch after that, as long as the user
is signed in, send your user’s data to Mixpanel again to keep it up
to date.
Live View
• The way to test your Mixpanel setup
• Watch the real-time event stream
• Go through a user flow and watch the live view
to make sure your app is sending the events you
expect
Demo
Analytics
Answer 3 Questions
• How many?
• How good?
• How often?
How many?
• Use the Segmentation page
• See how many times each event happened
• Pick your time range
• Daily/Weekly/Monthly totals
• Total count vs unique count per user session
Demo
How good?
• Use the Funnels page
• Create simple 2 or 3-step funnels to understand…
• What % of people who did event X then went on to do
event Y in the future?
• E.g. what % of people who saw the homepage
actually signed up?
• See your conversion rate improve or drop over time
and judge how good your app is becoming
Demo
How often?
• Use the Retention page
• Of the people who did event X on a certain day,
what % came back and did it again a day later,
two days later, three days later, etc?
• Can be tricky to understand (cohort analysis)
• Obviously more useful if your app is retention-
driven (games, messaging, media)
Demo
Bonus Question: Who?
• Use the People tab
• See the full history of events done by a person
• Send them emails and pushes and SMS
• Ask them questions in-app with surveys
Events and People
Viewed Home Screen
Started Signup
Signed Up
Sent Message
Gilman Tolle
Events People
Read Message
Sent Message
Viewed Contacts
Viewed Conversation
Diane
Loviglio
8:05p
8:06p
8:07p
8:08p
8:08p
8:09p
8:10p
8:11p
Viewed Home Screen
Started Signup
8:14p
8:15p
5/2/2015
Demo
Next-Level Mixpanel:
Group By Properties
Get More Detail
• How many? - but grouped by where they clicked
through from initially, where in the country they
are, what gender they are, etc.
• How good? - but see which groups have a
higher % conversion rate
• How often? - but see which groups have a
higher % retention rate
Group By
Viewed Home Screen
Started Signup
Signed Up
Sent Message
Events
Read Message
Sent Message
Viewed Contacts
Viewed Conversation
8:05p
8:06p
8:07p
8:08p
8:08p
8:09p
8:10p
8:11p
Viewed Home Screen
Started Signup
8:14p
8:15p
5/2/2015
Group By
Viewed Home Screen8:05p
Viewed Home Screen8:14p
Events
5/2/2015
Group By
Viewed Home Screen
Initial Referring Domain = facebook.com
City = San Francisco
utm_campaign=newsfeed_mar2015
8:05p
Viewed Home Screen
Initial Referring Domain = mail.google.com
City = New York
8:14p
Events
5/2/2015
Group By
Viewed Home Screen
Started Signup
Signed Up
Sent Message
Events
Read Message
Sent Message
Viewed Contacts
Viewed Conversation
8:05p
8:06p
8:07p
8:08p
8:08p
8:09p
8:10p
8:11p
Viewed Home Screen
Started Signup
8:14p
8:15p
5/2/2015
Viewed Home Screen
1 from Facebook
1 from Google
Signup Funnel
100% from Facebook
0% from Google
Demo
Group By
• You can add your own custom properties to events as well.
For example, when you track the ‘Sent Invite’ event, define
a property called ‘Invite Channel’ that can be ‘Facebook’,
‘Twitter’, ‘Text’, or ‘Email’. Then you can group by it.
• If you want to automatically add the same property to every
event you send, you can set them as “super properties”
instead.
• This is good for storing user-level data like gender or name
or role, so you can group events by it and see it in the live
view.
Group People By
• People have their own separate properties too
(e.g. gender, role, how many times the user sent
an invite, etc).
Group People By
Viewed Home Screen
Started Signup
Signed Up
Sent Message
Gilman Tolle
Gender=male
Events People
Read Message
Sent Message
Viewed Contacts
Viewed Conversation
Diane Loviglio
Gender=female
8:05p
8:06p
8:07p
8:08p
8:08p
8:09p
8:10p
8:11p
Viewed Home Screen
Started Signup
8:14p
8:15p
5/2/2015
Group People By
• Can group by those properties as well when
sending out notifications, emails, etc. to subsets
of your user list.
Demo
Group People By
• Event properties and people properties are
different.
• If it’s just a people property, you can’t segment
events by it on Segmentation, Funnels, and
Retention.
• So, consider setting your people properties as
event super properties too, so they’re available
both places.
Answer 3 Questions
• How many?
• How good?
• How often?
Thanks!
Any questions?
Gilman Tolle
CTO & Co-Founder of Boon+Gable
500 Startups Batch 9
gil@boonandgable.com
Developer’s Corner
Identifying Your Users
• Properly linking your Events to People is easy to
mess up.
• It all comes back to the fact that Mixpanel built
Events first, then glued People on later.
• You need to correctly associate their pre-sign-up
activities (Viewed Home Page) to their post-sign-
up activities (Signed Up, Booked a Session) or
else your funnels will be broken.
Why?
• Mixpanel starts by assigning a random “distinct id” to each
session using a browser cookie on the web or a uuid in app
storage. It’s device-specific.
• But once a user signs up, you now have a real unique ID from
your database that is the same no matter what device they use.
• You need to use the database ID going forward so you don’t
get duplicate users just by using 2 devices.
• But first you need to alias the database ID to the original
random “distinct id” so Mixpanel knows the events go together.
iOS
• When the user signs up, alias then identify:
• Mixpanel *mixpanel = [Mixpanel sharedInstance];

User *currentUser = [UserStore sharedStore].currentUser;

[mixpanel createAlias:currentUser.id forDistinctID:mixpanel.distinctId];

[mixpanel identify:currentUser.id];

[mixpanel.people set:@{@"$name": currentUser.name, …}];

[mixpanel registerSuperProperties:@{@"Name": currentUser.name, …}];
• Whenever the app checks credentials with the server and
downloads the user data (after launch, after login, etc), just
identify:
• Mixpanel *mixpanel = [Mixpanel sharedInstance];

User *currentUser = [UserStore sharedStore].currentUser;

[mixpanel identify:currentUser.id];

[mixpanel.people set:@{@"$name": currentUser.name, …}];

[mixpanel registerSuperProperties:@{@"Name": currentUser.name, …}];
Javascript
• When the user signs up, alias then identify.
• On every page view (or at least every login), just
identify.
• <% if flash[:just_created] %>

<%= content_for :ready do %>

mixpanel.alias("<%= current_user.id %>");

<% end %>

<% end %>



<%= content_for :ready do %>

mixpanel.identify("<%= current_user.id %>");

mixpanel.people.set({ $name: '<%= current_user.name %>', ... })

mixpanel.register({ name: '<%= current_user.name %>', ... })

<% end %>

Other Useful Tricks
• Create 2 projects: a production project and a dev
project
• Use the production project token in production,
and the dev token project token in development or
on the iOS simulator.
• #if TARGET_IPHONE_SIMULATOR
• That way you don’t pollute your real analytics with
all your development and testing.
Other Useful Tricks
• On iOS, events flush every 60 seconds by
default. That makes testing and setup slow.
• In the simulator:
• [Mixpanel sharedInstance].flushInterval = 1;
Other Useful Tricks
• On the web, use the Mixpanel Javascript library.
• On iOS or Android, use the native library.
• Think hard before you decide to use the Ruby/
Python/etc backend library.
• The client-side libraries capture a bunch of useful
data for you automatically (location, referrer,
device type, etc). The backend libraries don’t.
Intro to Mixpanel

Contenu connexe

Tendances

Engagement, Retention and Monetization
Engagement, Retention and MonetizationEngagement, Retention and Monetization
Engagement, Retention and MonetizationCleverTap
 
Numbers not Napkins: Simple Startup Metrics
Numbers not Napkins: Simple Startup MetricsNumbers not Napkins: Simple Startup Metrics
Numbers not Napkins: Simple Startup MetricsDave McClure
 
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)Dave McClure
 
Architecture Sustaining LINE Sticker services
Architecture Sustaining LINE Sticker servicesArchitecture Sustaining LINE Sticker services
Architecture Sustaining LINE Sticker servicesLINE Corporation
 
A guide to product metrics by Mixpanel
A guide to product metrics by MixpanelA guide to product metrics by Mixpanel
A guide to product metrics by MixpanelHarsha MV
 
WhatsApp API Introduction
WhatsApp API IntroductionWhatsApp API Introduction
WhatsApp API IntroductionPraveen Singh
 
Lean Analytics workshop (from Lean Startup Conf)
Lean Analytics workshop (from Lean Startup Conf)Lean Analytics workshop (from Lean Startup Conf)
Lean Analytics workshop (from Lean Startup Conf)Lean Analytics
 
Experimentation as a growth strategy at Booking.com
Experimentation as a growth strategy at Booking.comExperimentation as a growth strategy at Booking.com
Experimentation as a growth strategy at Booking.comwebwinkelvakdag
 
CRM Engagement Strategy With Data Driven Optimisation.
CRM Engagement Strategy With Data Driven Optimisation. CRM Engagement Strategy With Data Driven Optimisation.
CRM Engagement Strategy With Data Driven Optimisation. Jack Nguyen (Hung Tien)
 
The Future Of Customer Engagement
The Future Of Customer EngagementThe Future Of Customer Engagement
The Future Of Customer EngagementCleverTap
 
Analytics and AI based Retention in e-commerce
Analytics and AI based Retention in e-commerceAnalytics and AI based Retention in e-commerce
Analytics and AI based Retention in e-commerceCleverTap
 
Mom Test - Customer Development - 30m
Mom Test - Customer Development - 30mMom Test - Customer Development - 30m
Mom Test - Customer Development - 30mRob Fitzpatrick
 
Story maps and personas an intro
Story maps and personas   an introStory maps and personas   an intro
Story maps and personas an introMark Kilby
 
Think Like A Growth Hacker
Think Like A Growth HackerThink Like A Growth Hacker
Think Like A Growth HackerTim Homuth
 
Agile 2010 Estimation Games
Agile 2010 Estimation  GamesAgile 2010 Estimation  Games
Agile 2010 Estimation GamesAgileCoach.net
 
Optimizely Product Vision: The Future of Experimentation
Optimizely Product Vision: The Future of ExperimentationOptimizely Product Vision: The Future of Experimentation
Optimizely Product Vision: The Future of ExperimentationOptimizely
 
Growth Hacking / Marketing 101: It's about process
Growth Hacking / Marketing 101: It's about processGrowth Hacking / Marketing 101: It's about process
Growth Hacking / Marketing 101: It's about processRuben Hamilius
 

Tendances (20)

A/B testing
A/B testingA/B testing
A/B testing
 
Engagement, Retention and Monetization
Engagement, Retention and MonetizationEngagement, Retention and Monetization
Engagement, Retention and Monetization
 
Numbers not Napkins: Simple Startup Metrics
Numbers not Napkins: Simple Startup MetricsNumbers not Napkins: Simple Startup Metrics
Numbers not Napkins: Simple Startup Metrics
 
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
Silicon Valley 2.0: The Startup Metrics Revolution (Tokyo, December 2008)
 
Architecture Sustaining LINE Sticker services
Architecture Sustaining LINE Sticker servicesArchitecture Sustaining LINE Sticker services
Architecture Sustaining LINE Sticker services
 
A guide to product metrics by Mixpanel
A guide to product metrics by MixpanelA guide to product metrics by Mixpanel
A guide to product metrics by Mixpanel
 
The Art of Growth Hacking by Neil Patel
The Art of Growth Hacking by Neil PatelThe Art of Growth Hacking by Neil Patel
The Art of Growth Hacking by Neil Patel
 
WhatsApp API Introduction
WhatsApp API IntroductionWhatsApp API Introduction
WhatsApp API Introduction
 
Lean Analytics workshop (from Lean Startup Conf)
Lean Analytics workshop (from Lean Startup Conf)Lean Analytics workshop (from Lean Startup Conf)
Lean Analytics workshop (from Lean Startup Conf)
 
Experimentation as a growth strategy at Booking.com
Experimentation as a growth strategy at Booking.comExperimentation as a growth strategy at Booking.com
Experimentation as a growth strategy at Booking.com
 
CRM Engagement Strategy With Data Driven Optimisation.
CRM Engagement Strategy With Data Driven Optimisation. CRM Engagement Strategy With Data Driven Optimisation.
CRM Engagement Strategy With Data Driven Optimisation.
 
The Future Of Customer Engagement
The Future Of Customer EngagementThe Future Of Customer Engagement
The Future Of Customer Engagement
 
Analytics and AI based Retention in e-commerce
Analytics and AI based Retention in e-commerceAnalytics and AI based Retention in e-commerce
Analytics and AI based Retention in e-commerce
 
Mom Test - Customer Development - 30m
Mom Test - Customer Development - 30mMom Test - Customer Development - 30m
Mom Test - Customer Development - 30m
 
Story maps and personas an intro
Story maps and personas   an introStory maps and personas   an intro
Story maps and personas an intro
 
Instagram powerpoint (group)
Instagram powerpoint (group)Instagram powerpoint (group)
Instagram powerpoint (group)
 
Think Like A Growth Hacker
Think Like A Growth HackerThink Like A Growth Hacker
Think Like A Growth Hacker
 
Agile 2010 Estimation Games
Agile 2010 Estimation  GamesAgile 2010 Estimation  Games
Agile 2010 Estimation Games
 
Optimizely Product Vision: The Future of Experimentation
Optimizely Product Vision: The Future of ExperimentationOptimizely Product Vision: The Future of Experimentation
Optimizely Product Vision: The Future of Experimentation
 
Growth Hacking / Marketing 101: It's about process
Growth Hacking / Marketing 101: It's about processGrowth Hacking / Marketing 101: It's about process
Growth Hacking / Marketing 101: It's about process
 

En vedette

Understand A/B Testing in 9 use cases & 7 mistakes
Understand A/B Testing in 9 use cases & 7 mistakesUnderstand A/B Testing in 9 use cases & 7 mistakes
Understand A/B Testing in 9 use cases & 7 mistakesTheFamily
 
The Science of Marketing Automation
The Science of Marketing AutomationThe Science of Marketing Automation
The Science of Marketing AutomationHubSpot
 
The Science behind Viral marketing
The Science behind Viral marketingThe Science behind Viral marketing
The Science behind Viral marketingDavid Skok
 
Lean Community Building: Getting the Most Bang for Your Time & Money
Lean Community Building: Getting the Most Bang for  Your Time & MoneyLean Community Building: Getting the Most Bang for  Your Time & Money
Lean Community Building: Getting the Most Bang for Your Time & MoneyJennifer Lopez
 
Biz Dev 101 - An Interactive Workshop on How Deals Get Done
Biz Dev 101 - An Interactive Workshop on How Deals Get DoneBiz Dev 101 - An Interactive Workshop on How Deals Get Done
Biz Dev 101 - An Interactive Workshop on How Deals Get DoneScott Pollack
 
LinkedIn Ads Platform Master Class
LinkedIn Ads Platform Master ClassLinkedIn Ads Platform Master Class
LinkedIn Ads Platform Master ClassLinkedIn
 
The Essentials of Community Building by Mack Fogelson
The Essentials of Community Building by Mack FogelsonThe Essentials of Community Building by Mack Fogelson
The Essentials of Community Building by Mack FogelsonMackenzie Fogelson
 
Mastering Google Adwords In 30 Minutes
Mastering Google Adwords In 30 MinutesMastering Google Adwords In 30 Minutes
Mastering Google Adwords In 30 MinutesNik Cree
 
Wireframes - a brief overview
Wireframes - a brief overviewWireframes - a brief overview
Wireframes - a brief overviewJenni Leder
 
A Guide to User Research (for People Who Don't Like Talking to Other People)
A Guide to User Research (for People Who Don't Like Talking to Other People)A Guide to User Research (for People Who Don't Like Talking to Other People)
A Guide to User Research (for People Who Don't Like Talking to Other People)Stephanie Wills
 
The Beginners Guide to Startup PR #startuppr
The Beginners Guide to Startup PR #startupprThe Beginners Guide to Startup PR #startuppr
The Beginners Guide to Startup PR #startupprOnboardly
 
Some Advanced Remarketing Ideas
Some Advanced Remarketing IdeasSome Advanced Remarketing Ideas
Some Advanced Remarketing IdeasChris Thomas
 
No excuses user research
No excuses user researchNo excuses user research
No excuses user researchLily Dart
 
Using Your Growth Model to Drive Smarter High Tempo Testing
Using Your Growth Model to Drive Smarter High Tempo TestingUsing Your Growth Model to Drive Smarter High Tempo Testing
Using Your Growth Model to Drive Smarter High Tempo TestingSean Ellis
 
SQL Tutorial for Marketers
SQL Tutorial for MarketersSQL Tutorial for Marketers
SQL Tutorial for MarketersJustin Mares
 
How to: Viral Marketing + Brand Storytelling
How to: Viral Marketing + Brand Storytelling How to: Viral Marketing + Brand Storytelling
How to: Viral Marketing + Brand Storytelling Elle Shelley
 
How to Plug a Leaky Sales Funnel With Facebook Retargeting
How to Plug a Leaky Sales Funnel With Facebook RetargetingHow to Plug a Leaky Sales Funnel With Facebook Retargeting
How to Plug a Leaky Sales Funnel With Facebook RetargetingDigital Marketer
 
How Top Brands Use Referral Programs to Drive Customer Acquisition
How Top Brands Use Referral Programs to Drive Customer AcquisitionHow Top Brands Use Referral Programs to Drive Customer Acquisition
How Top Brands Use Referral Programs to Drive Customer AcquisitionKissmetrics on SlideShare
 

En vedette (20)

Understand A/B Testing in 9 use cases & 7 mistakes
Understand A/B Testing in 9 use cases & 7 mistakesUnderstand A/B Testing in 9 use cases & 7 mistakes
Understand A/B Testing in 9 use cases & 7 mistakes
 
The Science of Marketing Automation
The Science of Marketing AutomationThe Science of Marketing Automation
The Science of Marketing Automation
 
The Science behind Viral marketing
The Science behind Viral marketingThe Science behind Viral marketing
The Science behind Viral marketing
 
Lean Community Building: Getting the Most Bang for Your Time & Money
Lean Community Building: Getting the Most Bang for  Your Time & MoneyLean Community Building: Getting the Most Bang for  Your Time & Money
Lean Community Building: Getting the Most Bang for Your Time & Money
 
Biz Dev 101 - An Interactive Workshop on How Deals Get Done
Biz Dev 101 - An Interactive Workshop on How Deals Get DoneBiz Dev 101 - An Interactive Workshop on How Deals Get Done
Biz Dev 101 - An Interactive Workshop on How Deals Get Done
 
LinkedIn Ads Platform Master Class
LinkedIn Ads Platform Master ClassLinkedIn Ads Platform Master Class
LinkedIn Ads Platform Master Class
 
The Essentials of Community Building by Mack Fogelson
The Essentials of Community Building by Mack FogelsonThe Essentials of Community Building by Mack Fogelson
The Essentials of Community Building by Mack Fogelson
 
Mastering Google Adwords In 30 Minutes
Mastering Google Adwords In 30 MinutesMastering Google Adwords In 30 Minutes
Mastering Google Adwords In 30 Minutes
 
Wireframes - a brief overview
Wireframes - a brief overviewWireframes - a brief overview
Wireframes - a brief overview
 
Intro to Facebook Ads
Intro to Facebook AdsIntro to Facebook Ads
Intro to Facebook Ads
 
A Guide to User Research (for People Who Don't Like Talking to Other People)
A Guide to User Research (for People Who Don't Like Talking to Other People)A Guide to User Research (for People Who Don't Like Talking to Other People)
A Guide to User Research (for People Who Don't Like Talking to Other People)
 
The Beginners Guide to Startup PR #startuppr
The Beginners Guide to Startup PR #startupprThe Beginners Guide to Startup PR #startuppr
The Beginners Guide to Startup PR #startuppr
 
Some Advanced Remarketing Ideas
Some Advanced Remarketing IdeasSome Advanced Remarketing Ideas
Some Advanced Remarketing Ideas
 
No excuses user research
No excuses user researchNo excuses user research
No excuses user research
 
Using Your Growth Model to Drive Smarter High Tempo Testing
Using Your Growth Model to Drive Smarter High Tempo TestingUsing Your Growth Model to Drive Smarter High Tempo Testing
Using Your Growth Model to Drive Smarter High Tempo Testing
 
SQL Tutorial for Marketers
SQL Tutorial for MarketersSQL Tutorial for Marketers
SQL Tutorial for Marketers
 
How to: Viral Marketing + Brand Storytelling
How to: Viral Marketing + Brand Storytelling How to: Viral Marketing + Brand Storytelling
How to: Viral Marketing + Brand Storytelling
 
How to Plug a Leaky Sales Funnel With Facebook Retargeting
How to Plug a Leaky Sales Funnel With Facebook RetargetingHow to Plug a Leaky Sales Funnel With Facebook Retargeting
How to Plug a Leaky Sales Funnel With Facebook Retargeting
 
How Top Brands Use Referral Programs to Drive Customer Acquisition
How Top Brands Use Referral Programs to Drive Customer AcquisitionHow Top Brands Use Referral Programs to Drive Customer Acquisition
How Top Brands Use Referral Programs to Drive Customer Acquisition
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
 

Similaire à Intro to Mixpanel

Deep Dive on Pinterest's User Engagement - Iterable User Engagement Teardown
Deep Dive on Pinterest's User Engagement - Iterable User Engagement TeardownDeep Dive on Pinterest's User Engagement - Iterable User Engagement Teardown
Deep Dive on Pinterest's User Engagement - Iterable User Engagement TeardownIterable
 
Best Practices: What to Track with Your Analytics
Best Practices: What to Track with Your AnalyticsBest Practices: What to Track with Your Analytics
Best Practices: What to Track with Your AnalyticsKissmetrics on SlideShare
 
Casual Dining Restaurants - Iterable User Engagement Teardown
Casual Dining Restaurants - Iterable User Engagement TeardownCasual Dining Restaurants - Iterable User Engagement Teardown
Casual Dining Restaurants - Iterable User Engagement TeardownIterable
 
Deep Dive on Vox's User Engagement - User Engagement Teardown
Deep Dive on Vox's User Engagement - User Engagement TeardownDeep Dive on Vox's User Engagement - User Engagement Teardown
Deep Dive on Vox's User Engagement - User Engagement TeardownIterable
 
The Path to the Inbox Part 1
The Path to the Inbox Part 1The Path to the Inbox Part 1
The Path to the Inbox Part 1Infusionsoft
 
Blue Apron vs. HelloFresh - User Engagement Teardown
Blue Apron vs. HelloFresh - User Engagement Teardown Blue Apron vs. HelloFresh - User Engagement Teardown
Blue Apron vs. HelloFresh - User Engagement Teardown Iterable
 
Firstgiving for Beginners
Firstgiving for BeginnersFirstgiving for Beginners
Firstgiving for BeginnersFirstGiving
 
eTapestry Webinar
eTapestry WebinareTapestry Webinar
eTapestry Webinarmikekierce
 
Next Step Conference Presentation
Next Step Conference PresentationNext Step Conference Presentation
Next Step Conference Presentationjayblove
 
Fast Food Restaurants — Iterable User Engagement Teardown
Fast Food Restaurants — Iterable User Engagement TeardownFast Food Restaurants — Iterable User Engagement Teardown
Fast Food Restaurants — Iterable User Engagement TeardownIterable
 
Marriott vs. Airbnb - User Engagement Teardown
Marriott vs. Airbnb -  User Engagement TeardownMarriott vs. Airbnb -  User Engagement Teardown
Marriott vs. Airbnb - User Engagement TeardownIterable
 
FirstGiving for Beginners_old version
FirstGiving for Beginners_old versionFirstGiving for Beginners_old version
FirstGiving for Beginners_old versionFirstGiving
 
eTapestry Webinar
eTapestry WebinareTapestry Webinar
eTapestry Webinarkrucker
 
Gmail for power users
Gmail for power usersGmail for power users
Gmail for power usersVeni Paladagu
 
Five Technologies That Can Boost Your eCommerce/Mktg is Less Than 5 Days
Five Technologies That Can Boost Your eCommerce/Mktg is Less Than 5 DaysFive Technologies That Can Boost Your eCommerce/Mktg is Less Than 5 Days
Five Technologies That Can Boost Your eCommerce/Mktg is Less Than 5 DaysScott Dunlap
 
Karsten Wysk - Growth Hacking Meetup #3 - How to grow your app from 0 to 15 m...
Karsten Wysk - Growth Hacking Meetup #3 - How to grow your app from 0 to 15 m...Karsten Wysk - Growth Hacking Meetup #3 - How to grow your app from 0 to 15 m...
Karsten Wysk - Growth Hacking Meetup #3 - How to grow your app from 0 to 15 m...StackFuel GmbH
 
Community Organizing Tools from the Experts Webinar
Community Organizing Tools from the Experts WebinarCommunity Organizing Tools from the Experts Webinar
Community Organizing Tools from the Experts WebinarNTEN
 
Text messaging is Replacing Email for Donor Engagement
Text messaging is Replacing Email for Donor EngagementText messaging is Replacing Email for Donor Engagement
Text messaging is Replacing Email for Donor Engagementgjhassin
 
FirstGiving for Beginners (April 2013)
FirstGiving for Beginners (April 2013)FirstGiving for Beginners (April 2013)
FirstGiving for Beginners (April 2013)FirstGiving
 

Similaire à Intro to Mixpanel (20)

Deep Dive on Pinterest's User Engagement - Iterable User Engagement Teardown
Deep Dive on Pinterest's User Engagement - Iterable User Engagement TeardownDeep Dive on Pinterest's User Engagement - Iterable User Engagement Teardown
Deep Dive on Pinterest's User Engagement - Iterable User Engagement Teardown
 
Best Practices: What to Track with Your Analytics
Best Practices: What to Track with Your AnalyticsBest Practices: What to Track with Your Analytics
Best Practices: What to Track with Your Analytics
 
Casual Dining Restaurants - Iterable User Engagement Teardown
Casual Dining Restaurants - Iterable User Engagement TeardownCasual Dining Restaurants - Iterable User Engagement Teardown
Casual Dining Restaurants - Iterable User Engagement Teardown
 
50 tech tips 2016 fin
50 tech tips 2016 fin50 tech tips 2016 fin
50 tech tips 2016 fin
 
Deep Dive on Vox's User Engagement - User Engagement Teardown
Deep Dive on Vox's User Engagement - User Engagement TeardownDeep Dive on Vox's User Engagement - User Engagement Teardown
Deep Dive on Vox's User Engagement - User Engagement Teardown
 
The Path to the Inbox Part 1
The Path to the Inbox Part 1The Path to the Inbox Part 1
The Path to the Inbox Part 1
 
Blue Apron vs. HelloFresh - User Engagement Teardown
Blue Apron vs. HelloFresh - User Engagement Teardown Blue Apron vs. HelloFresh - User Engagement Teardown
Blue Apron vs. HelloFresh - User Engagement Teardown
 
Firstgiving for Beginners
Firstgiving for BeginnersFirstgiving for Beginners
Firstgiving for Beginners
 
eTapestry Webinar
eTapestry WebinareTapestry Webinar
eTapestry Webinar
 
Next Step Conference Presentation
Next Step Conference PresentationNext Step Conference Presentation
Next Step Conference Presentation
 
Fast Food Restaurants — Iterable User Engagement Teardown
Fast Food Restaurants — Iterable User Engagement TeardownFast Food Restaurants — Iterable User Engagement Teardown
Fast Food Restaurants — Iterable User Engagement Teardown
 
Marriott vs. Airbnb - User Engagement Teardown
Marriott vs. Airbnb -  User Engagement TeardownMarriott vs. Airbnb -  User Engagement Teardown
Marriott vs. Airbnb - User Engagement Teardown
 
FirstGiving for Beginners_old version
FirstGiving for Beginners_old versionFirstGiving for Beginners_old version
FirstGiving for Beginners_old version
 
eTapestry Webinar
eTapestry WebinareTapestry Webinar
eTapestry Webinar
 
Gmail for power users
Gmail for power usersGmail for power users
Gmail for power users
 
Five Technologies That Can Boost Your eCommerce/Mktg is Less Than 5 Days
Five Technologies That Can Boost Your eCommerce/Mktg is Less Than 5 DaysFive Technologies That Can Boost Your eCommerce/Mktg is Less Than 5 Days
Five Technologies That Can Boost Your eCommerce/Mktg is Less Than 5 Days
 
Karsten Wysk - Growth Hacking Meetup #3 - How to grow your app from 0 to 15 m...
Karsten Wysk - Growth Hacking Meetup #3 - How to grow your app from 0 to 15 m...Karsten Wysk - Growth Hacking Meetup #3 - How to grow your app from 0 to 15 m...
Karsten Wysk - Growth Hacking Meetup #3 - How to grow your app from 0 to 15 m...
 
Community Organizing Tools from the Experts Webinar
Community Organizing Tools from the Experts WebinarCommunity Organizing Tools from the Experts Webinar
Community Organizing Tools from the Experts Webinar
 
Text messaging is Replacing Email for Donor Engagement
Text messaging is Replacing Email for Donor EngagementText messaging is Replacing Email for Donor Engagement
Text messaging is Replacing Email for Donor Engagement
 
FirstGiving for Beginners (April 2013)
FirstGiving for Beginners (April 2013)FirstGiving for Beginners (April 2013)
FirstGiving for Beginners (April 2013)
 

Dernier

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Intro to Mixpanel

  • 1. Intro to Mixpanel Or, how can I understand what my users are doing? Gilman Tolle CTO & Co-Founder of Boon+Gable 500 Startups Batch 9 gil@boonandgable.com
  • 2. Answer 3 Questions • How many? • How good? • How often?
  • 4. How It Works User Your App or Site Mixpanel Client View or Tap or Click Your Backend ServerDo Stuff Mixpanel Server Track Event You! Send Event Admin Analytics Internet
  • 5. Events Viewed Home Screen Started Signup Signed Up Sent Message Events Read Message Sent Message Viewed Contacts Viewed Conversation 8:05p 8:06p 8:07p 8:08p 8:08p 8:09p 8:10p 8:11p Viewed Home Screen Started Signup 8:14p 8:15p 5/2/2015 Boon+Gable Project
  • 6. Events and Devices Viewed Home Screen Started Signup Signed Up Sent Message Events Read Message Sent Message Viewed Contacts Viewed Conversation 8:05p 8:06p 8:07p 8:08p 8:08p 8:09p 8:10p 8:11p Viewed Home Screen Started Signup 8:14p 8:15p 5/2/2015 Boon+Gable Project
  • 7. Events and People Viewed Home Screen Started Signup Signed Up Sent Message Gilman Tolle Events People Read Message Sent Message Viewed Contacts Viewed Conversation Diane Loviglio 8:05p 8:06p 8:07p 8:08p 8:08p 8:09p 8:10p 8:11p Viewed Home Screen Started Signup 8:14p 8:15p 5/2/2015 Boon+Gable Project
  • 9. Define Your Events • You are responsible for defining and naming your own events. • Name them wisely. • Cause you can’t change them. • Ever.
  • 10. Naming Guidelines • Use human-friendly names! (e.g. “Signed Up”, not “user_signup_192xq”) • Think “what action did the user take that triggered this event?”. Name it that.
  • 11. Naming Guidelines • Start with 5 core events: • Acquisition: Viewed Home Screen • Activation: Signed Up • Retention: Sent a Message (or as appropriate) • Revenue: Booked a Session (or as appropriate) • Referral: Sent an Invite
  • 12. Naming Guidelines • Then flesh out your funnels with more detailed events over time, once you trust the data on the core events. • (e.g. Viewed Invite Screen -> did they find the screen at all, then what % actually invited?) • (or Signed Up then Added Profile Info then … what % dropped off in the signup flow?) • Go slowly. Build it up. Don’t just dump in a bunch of crap events up front that you’ll see forever.
  • 13. Implementation • Ask your developer to add code to send the right events at the right time. • It’s easy: • mixpanel.track(“Signed Up”) • [[Mixpanel sharedInstance] track:@“Signed Up”] • I have more developer details afterwards.
  • 14. Implementation • There’s one additional step to link your events to people. • When a user first signs up, call “alias” to tell Mixpanel about your internal database ID number for that user. • Then, send that user’s data (name, email, phone, etc) to Mixpanel. • Every event sent after that will be linked to the person, and every event before the “alias” call (e.g. home page view) will be linked too. • And, every page view or app launch after that, as long as the user is signed in, send your user’s data to Mixpanel again to keep it up to date.
  • 15. Live View • The way to test your Mixpanel setup • Watch the real-time event stream • Go through a user flow and watch the live view to make sure your app is sending the events you expect
  • 16. Demo
  • 18. Answer 3 Questions • How many? • How good? • How often?
  • 19. How many? • Use the Segmentation page • See how many times each event happened • Pick your time range • Daily/Weekly/Monthly totals • Total count vs unique count per user session
  • 20. Demo
  • 21. How good? • Use the Funnels page • Create simple 2 or 3-step funnels to understand… • What % of people who did event X then went on to do event Y in the future? • E.g. what % of people who saw the homepage actually signed up? • See your conversion rate improve or drop over time and judge how good your app is becoming
  • 22. Demo
  • 23. How often? • Use the Retention page • Of the people who did event X on a certain day, what % came back and did it again a day later, two days later, three days later, etc? • Can be tricky to understand (cohort analysis) • Obviously more useful if your app is retention- driven (games, messaging, media)
  • 24. Demo
  • 25. Bonus Question: Who? • Use the People tab • See the full history of events done by a person • Send them emails and pushes and SMS • Ask them questions in-app with surveys
  • 26. Events and People Viewed Home Screen Started Signup Signed Up Sent Message Gilman Tolle Events People Read Message Sent Message Viewed Contacts Viewed Conversation Diane Loviglio 8:05p 8:06p 8:07p 8:08p 8:08p 8:09p 8:10p 8:11p Viewed Home Screen Started Signup 8:14p 8:15p 5/2/2015
  • 27. Demo
  • 29. Get More Detail • How many? - but grouped by where they clicked through from initially, where in the country they are, what gender they are, etc. • How good? - but see which groups have a higher % conversion rate • How often? - but see which groups have a higher % retention rate
  • 30. Group By Viewed Home Screen Started Signup Signed Up Sent Message Events Read Message Sent Message Viewed Contacts Viewed Conversation 8:05p 8:06p 8:07p 8:08p 8:08p 8:09p 8:10p 8:11p Viewed Home Screen Started Signup 8:14p 8:15p 5/2/2015
  • 31. Group By Viewed Home Screen8:05p Viewed Home Screen8:14p Events 5/2/2015
  • 32. Group By Viewed Home Screen Initial Referring Domain = facebook.com City = San Francisco utm_campaign=newsfeed_mar2015 8:05p Viewed Home Screen Initial Referring Domain = mail.google.com City = New York 8:14p Events 5/2/2015
  • 33. Group By Viewed Home Screen Started Signup Signed Up Sent Message Events Read Message Sent Message Viewed Contacts Viewed Conversation 8:05p 8:06p 8:07p 8:08p 8:08p 8:09p 8:10p 8:11p Viewed Home Screen Started Signup 8:14p 8:15p 5/2/2015 Viewed Home Screen 1 from Facebook 1 from Google Signup Funnel 100% from Facebook 0% from Google
  • 34. Demo
  • 35. Group By • You can add your own custom properties to events as well. For example, when you track the ‘Sent Invite’ event, define a property called ‘Invite Channel’ that can be ‘Facebook’, ‘Twitter’, ‘Text’, or ‘Email’. Then you can group by it. • If you want to automatically add the same property to every event you send, you can set them as “super properties” instead. • This is good for storing user-level data like gender or name or role, so you can group events by it and see it in the live view.
  • 36. Group People By • People have their own separate properties too (e.g. gender, role, how many times the user sent an invite, etc).
  • 37. Group People By Viewed Home Screen Started Signup Signed Up Sent Message Gilman Tolle Gender=male Events People Read Message Sent Message Viewed Contacts Viewed Conversation Diane Loviglio Gender=female 8:05p 8:06p 8:07p 8:08p 8:08p 8:09p 8:10p 8:11p Viewed Home Screen Started Signup 8:14p 8:15p 5/2/2015
  • 38. Group People By • Can group by those properties as well when sending out notifications, emails, etc. to subsets of your user list.
  • 39. Demo
  • 40. Group People By • Event properties and people properties are different. • If it’s just a people property, you can’t segment events by it on Segmentation, Funnels, and Retention. • So, consider setting your people properties as event super properties too, so they’re available both places.
  • 41. Answer 3 Questions • How many? • How good? • How often?
  • 42. Thanks! Any questions? Gilman Tolle CTO & Co-Founder of Boon+Gable 500 Startups Batch 9 gil@boonandgable.com
  • 44. Identifying Your Users • Properly linking your Events to People is easy to mess up. • It all comes back to the fact that Mixpanel built Events first, then glued People on later. • You need to correctly associate their pre-sign-up activities (Viewed Home Page) to their post-sign- up activities (Signed Up, Booked a Session) or else your funnels will be broken.
  • 45. Why? • Mixpanel starts by assigning a random “distinct id” to each session using a browser cookie on the web or a uuid in app storage. It’s device-specific. • But once a user signs up, you now have a real unique ID from your database that is the same no matter what device they use. • You need to use the database ID going forward so you don’t get duplicate users just by using 2 devices. • But first you need to alias the database ID to the original random “distinct id” so Mixpanel knows the events go together.
  • 46. iOS • When the user signs up, alias then identify: • Mixpanel *mixpanel = [Mixpanel sharedInstance];
 User *currentUser = [UserStore sharedStore].currentUser;
 [mixpanel createAlias:currentUser.id forDistinctID:mixpanel.distinctId];
 [mixpanel identify:currentUser.id];
 [mixpanel.people set:@{@"$name": currentUser.name, …}];
 [mixpanel registerSuperProperties:@{@"Name": currentUser.name, …}]; • Whenever the app checks credentials with the server and downloads the user data (after launch, after login, etc), just identify: • Mixpanel *mixpanel = [Mixpanel sharedInstance];
 User *currentUser = [UserStore sharedStore].currentUser;
 [mixpanel identify:currentUser.id];
 [mixpanel.people set:@{@"$name": currentUser.name, …}];
 [mixpanel registerSuperProperties:@{@"Name": currentUser.name, …}];
  • 47. Javascript • When the user signs up, alias then identify. • On every page view (or at least every login), just identify. • <% if flash[:just_created] %>
 <%= content_for :ready do %>
 mixpanel.alias("<%= current_user.id %>");
 <% end %>
 <% end %>
 
 <%= content_for :ready do %>
 mixpanel.identify("<%= current_user.id %>");
 mixpanel.people.set({ $name: '<%= current_user.name %>', ... })
 mixpanel.register({ name: '<%= current_user.name %>', ... })
 <% end %>

  • 48. Other Useful Tricks • Create 2 projects: a production project and a dev project • Use the production project token in production, and the dev token project token in development or on the iOS simulator. • #if TARGET_IPHONE_SIMULATOR • That way you don’t pollute your real analytics with all your development and testing.
  • 49. Other Useful Tricks • On iOS, events flush every 60 seconds by default. That makes testing and setup slow. • In the simulator: • [Mixpanel sharedInstance].flushInterval = 1;
  • 50. Other Useful Tricks • On the web, use the Mixpanel Javascript library. • On iOS or Android, use the native library. • Think hard before you decide to use the Ruby/ Python/etc backend library. • The client-side libraries capture a bunch of useful data for you automatically (location, referrer, device type, etc). The backend libraries don’t.