AARRR! Mixpanel for Pirates (updated!)

Dave McClure's Startup Metrics for Pirates has become something of a bible for startups focused on collecting data and iterating quickly. His premise is simple - building a startup is hard! To succeed, you need to design and test constantly throughout both marketing and product. Marketers must design and test multiple channels, measuring effectiveness deep down the funnel rather than on the surface. Product designers should rigorously test new features through split testing and measuring impact on conversion.

For founders, less is more; the entire team should be focused on five key metrics: Acquisition, Activation, Retention, Referral, and Revenue.

Luckily for all of you pirates out there, Mixpanel is the perfect tool for tracking AARRR....

Acquisition

The key to understanding user acquisition is understanding which ad networks, widgets, campaigns, affiliates or SEO/SEM are sending you valuable traffic. Dave McClure calls these "best-performing conversion channels" and emphasizes that these are not channels sending you tons of pageviews, but channels sending you users that users that do something meaningful. This might mean viewing a movie, downloading a plug-in, playing a game, entering an email address - it's really up to you. All that matters is that you determine your meaningful events and judge your sources of traffic accordingly.

Mixpanel lets you easily track these meaningful events and segment them by source, campaign, medium, keyword, etc. Here is a sample Segmentation report. We are digging into an event that is more meaningful than a "pageview" - we're looking at a Browse, or search, event. Most likely, users that hit my landing page and actually browsed for an item are a good audience for me, and are much more likely to use my product than visitors who bounced after hitting the site. Breaking this out by ad source, we can see that HeyZap is the best source of traffic that performs this meaningful action.

An even more sophisticated approach to judging sources of traffic would be to run your retention reports by source to see not only which campaigns are sending you valuable traffic, but which campaigns are sending you traffic that returns over and over again. This is something unique to Mixpanel; I'll get more into this under Retention.

Dave McClure also mentions audience segmentation - who are these users? What age/gender/geography do they represent? Mixpanel Segmentation lets you drill deeply down into your conversion event, asking questions like, "Of the female visitors who came from Google, live in New Mexico, and purchased a pillow, what does their age distribution look like? What keywords did they search for?" It is imperative that you know who your customers/users are! No tool out there lets you dig as deep as Mixpanel.

Activation

So you've worked hard to get these valuable users to your website by optimizing your sources of traffic. Now, you need to make sure these users have a "happy first visit." Do they move through your app or website seamlessly? Are there certain pages or steps where you are losing or stalling a chunk of your traffic? McClure suggests constant A/B testing of your landing page as well as every added feature, with the key goal of increasing conversion.

Luckily for you pirates, it's a breeze to set up conversion split tests in Mixpanel. In the screenshot below, we are testing a sign-up form to see whether our alpha test has a greater conversion rate than our baseline. We can easily see that our test version outperformed our baseline, and we could drill down even further to see the impact by particular audience types as well as the impact on median time between steps.

Retention

So far, so good - you've optimized your traffic and created a happy first touch. Now, you need to keep your users coming back! You also need to be able to tell whether the changes you're making are impacting retention in a positive or negative way. The key to monitoring changes in retention is to view it by cohort groups.

Mixpanel uniquely gives you the ability to break your retention into cohort groups (birth classes) as well as to segment it by attributes like Source, Gender, Age, City, Device, Version, etc. This way, you can see not only whether your retention is getting better over time, but you can ask questions like "Are my changes increasing retention of my target audience - women who came to my site via Facebook?"

The question I'm frequently asked is, "This is all well and good, but how do I get my retention to go up?"

Well, Mixpanel gives you a great tool for this: Engage.

Engage lets you target your audience by very specific attributes and then test to see if the users you reach out to are reacting to your emails/notifications. For example, you could target users who have made multiple purchases in the past but haven't been to your site in two weeks to let them know about an event you're hosting in San Francisco, and then use funnels to see if these notifications are driving them back to your site or - even better - whether these notifications are impacting retention.

Referral

Once your product is battle-tested and beloved, it's time for viral marketing. This is your cheapest source of traffic, and one that bodes well for the success of your business - users like your product so much, they want to share the experience with others!

In Mixpanel, an easy way to start is by tracking shares, or even generation of shares, by adding tags in the URL. For example, we could easily segment an event called "share" by a property called "social network" -

You can take this even further to track conversion of these shares. We recently wrote a blog post on Tracking Virality with Funnels, which explains in detail how to track number of invites sent and percentage of those invites converted.

Tracking conversion of shares gives you two powerful tools: you can calculate your K-factor as well as see which users are contributing to your virality. Using mixpanel.people.increment, you can tally the number of share events fired by a user. Perhaps you'd like to thank them for their support directly via Mixpanel Engage? After all, it is certainly important to focus on the retention of your biggest evangelists!

Revenue

All of the previous four metrics were really teeing up the most important metric - revenue. Your revenue model is entirely up to you, and, of course, varies with each business. That said, measuring and tracking the lifetime value of a customer is an incredibly powerful tool to understand how much you can spend to acquire those customers while remaining profitable.

When you know who your most valuable customers are, you know who to focus on and where to focus development efforts. You'll be able to see if 18-24 year old men in San Francisco or 18-24 year old women in New York spend more money in your app. You can measure which acquisition channel delivers the most valuable customers and how this changes over time. In a nutshell, you can optimize your product and your marketing around the most important metric of all - dollars.

So...are YOU a pirate navigating formidable seas? Mixpanel can get you to your treasure. Ahoy, mates!

Community Tip: Codeless Event Tracking for iOS & Android

This Community Tip will walk you through setting up Mixpanel’s codeless event tracking. This is the quickest and easiest way to get started tracking events in your iOS or Android mobile app. If your app already has the Mixpanel SDK installed, you will be able to start tracking events immediately, without re-submitting to the app store! The screenshots below are iOS but everything discussed here will apply to both iOS and Android. As long as you have the Mixpanel SDK installed in your app and it's being properly initialized, you're ready to go. If you need a reminder on how to initialize the library, here are the steps for iOS and Android . Getting connected The first thing to do is launch your app in the simulator or on a device. For demonstration purposes, I'll be using my awesome trivia app, Trvl (pronounced “Trivial”). Once it's open, navigate to your Mixpanel project and c...

Community Tip: Integrating Google AdWords with Mixpanel

This Community Tip will take you step-by-step through the process used to push Google AdWords campaign information to Mixpanel. This tutorial will ensure your campaign settings in Google are configured correctly. After setting up your campaigns, Mixpanel's JavaScript SDK will do the rest. This tutorial is broken into two parts. The first walks through the necessary settings in your Google AdWords dashboard. If you're using Mixpanel's JavaScript library, great news! No additional set up or coding is required for ad information to propagate into Mixpanel. If you're driving traffic to a mobile app, you'll want to read about mobile attribution with Mixpanel . The latter sections detail an optional and more advanced step-by-step guide that takes you through the process of setting up UTM-tags in parallel with autotagging (typical only for those using both Mixpanel and Google Analytics in ...

Community Tip: People Properties Best Practices

This Community Tip is geared for anyone interested in using Mixpanel’s People Analytics or seasoned users interested in tweaking their implementations. We'll help answer the question: What types of data should we be storing in People Profiles? People Analytics allow you to send highly targeted messages to your users People Analytics allows you to send targeted messages to your users by leveraging the People properties stored within each profile. When setting People Properties, you have five options of data to include: String, Numeric, Boolean, Date, and List type. For more on how to properly send these types to Mixpanel, check out this article! Each of these data types allows us to create differently targeted campaigns. Sometimes the differences in the properties can be subtle. For example, let's say you want to email your users after they sign up for a paid plan. 1) ...

Community Tip: Implementing Mixpanel via Google Tag Manager

This Community Tip will take you step-by-step through implementing Mixpanel with Google Tag Manager for tracking page views, link clicks, and form submissions. Pros and cons of implementing Mixpanel with Google Tag Manager Google Tag Manager (GTM) is a free application that allows users to remotely alter & activate certain code snippets that fire in a web or mobile app, without requiring direct access to the codebase or an App Store resubmission. GTM works by having you install a single code snippet, which fetches and runs any custom script "tags" you've set up within GTM's own UI based on "triggers" that you've identified. GTM can be particularly handy if you're in charge of your product's analytics, but would need to take up a developer's time in order to make any changes to the codebase. The software allows you to alter isolated portions of your code via a relatively int...

Community Tip: Useful Super Properties

Super Properties give you the power to cohortize user actions by descriptions of your users. This Community Tip lists many useful super properties by industry or focus, and describes how to implement super properties with any of Mixpanel’s client-side SDKs. Note : Super Properties are supported in all Mixpanel client-side libraries: JavaScript , iOS , Android , and AS3 . What is a Super Property? Generally, Super Properties are things you know about the user rather than about a specific event - for example, the age, gender, advertising source, or initial referrer. To make things easier, you can register these properties as super properties. If you tell us just once that these properties are important, we will automatically include them with all events sent. Super properties are stored in a browser cookie or local storage, and will persist between visits to your site ...

Community Tip: List Properties

Today’s Community Post will cover the ins and outs of list properties. We’ll go over how to set list type properties and why you want to use them. What is a list property? Event properties are a great way to send Mixpanel a lot of detailed information about how users interact with your website/app. In addition to lots of awesome property datatypes (numbers, strings, booleans), we support list properties. List properties are as simple as the name sounds—it’s a property containing a list of information! List properties allow you to describe dimensions that contains more than one value. When would you want to use a list property? You would want to use list properties whenever you have more than one value for a given property. Some examples: Items purchased in a “Checkout completed” event Multiple artists for a “Song Played” event Experiment groupings for A/B ...

Community Tip : Addiction Best Practices

This Community Tip will illustrate how to interpret Mixpanel’s Addiction Report. We’ll walk through some best practices and methods for using the Addiction report to analyze your users’ behavior with an eye towards actionable insights. Our Retention report shows the portion of your customers or customer cohorts who engage with your application. Mixpanel’s Addiction Report takes it to the next level and analyzes the minimum number of hours or days your users engage with your app. How to interpret an Addiction Report The first column of the Addiction report displays the number of users in the cohort displayed on that row, just like our First Time and Recurring Retention reports. In the screenshot below, it means that 6,054 unique users fired an “App Open” event on February 1st. Each of the buckets (column headings) to the right indicate how many hours in day, days in a week, or day...

Updates to segmentation: See your top events & compare events too

We've made Segmentation a whole lot better, and we're excited to share all the updates we've made: See an overview of your top events We've made it possible to see an overview of the highest volume events that your users take in your app. It can help you see spikes in your data, and it's just a convenient way to get a snapshot of how things are going. Compare trends more easily Comparing two or more different events is now possible, so you can analyze the correlation between events. Just click the compare menu option after picking the first event. Plot your data in logarithmic scale It can often be tough to compare two trends if one event or segment dwarfs another or if your app takes off and creates a big spike in your metrics because the big differences in scale make it hard to see what's going on. With a logarithmic scale, you'll be able to compare and correlate...

Community Tip: Incremental Super Properties

This Community Tip will outline how to create incremental super properties using our JavaScript SDK, so you can keep a tally of how often a user takes specific actions on your site or in your app and then segment any event by count. What Makes A Super Property So Super? Before we dive in to incremental super properties let’s have a quick reminder of what super properties are. Super properties are client-side properties that are automatically attached to every event that a user sends to your Mixpanel project. They make working with Mixpanel data much more convenient because they act as global properties that are omnipresent in all your events (given that the cookie is not cleared). Some examples of information that you may want to attribute to every event are ad campaign, signup date, or paid account type, etc. It’s important to note that super properties are only for events , not...