Data, Analytics, & Finding Your OKM: Mixpanel Goes Beyond Page Views

What’s the true measure of success for a startup? That depends on what you’re trying to accomplish. If you work at Path, the San Francisco-based mobile social network, it’s probably not useful to obsess over how many people have downloaded your iOS or Android apps, or even how often the apps are opened or how many posts people view.

Given that Path is supposed to be a shared personal journal, a more pertinent question would be how many people are actually capturing and sharing “moments” such as photos, videos, or check-ins. If people aren’t posting, after all, they’re not contributing to Path’s community or its business.

“That is the actual metric for Path,” says Suhail Doshi, co-founder and CEO of San Francisco-based Mixpanel. “Every time you share a moment with friends, that is much more defining than a download or a page view, because that’s someone saying ‘I am interested in this app and I would like to engage with it.’”

Doshi and his co-founder Tim Trefren should know. They started Mixpanel just three years ago inside the Y Combinator startup accelerator, and now they provide analytics wisdom to Path and dozens of other consumer-facing Web and mobile startups, including Airbnb, Quora, Posterous, BitTorrent, Bebo, Ubisoft, Jawbone, Twitch TV, and Leviathan Games. If there’s one message the 12-employee startup tries to impress on all its customers, Doshi says, it’s that “page views are not very important. Simply because you are producing page views doesn’t mean you are growing or doing well as a business. There are much better, more objective ways to determine whether you are doing well.”

Pressing the point home, Doshi says every company ought to identify the OKM—One Key Metric—that sums up its health and progress. “It’s the one thing you would bet the company on,” he says. For a publisher, the OKM shouldn’t be simply how many people came to the website in a given month—that might not signify much if most of them bounced right on to some other site. A more meaningful number would be how many people stayed for at least one minute and shared at least one article via Twitter, Facebook, or e-mail. “It doesn’t have to be a big number,” says Doshi. “Just something that’s harsh enough that you will know you’re succeeding as long as the number keeps going up.”

The problem with finding your OKM is that it might not be a number that even shows up in traditional analytics packages from the likes of Omniture (now part of Adobe), Coremetrics (now part of IBM), or Google Analytics. And if it’s there, running the query to find it could take hours. In contrast, giving tech companies the power to track and dissect more types of events in near-real time is the whole reason for Mixpanel’s existence. “There are all these companies that track page views, so from the first line of code I wrote I said I was going to try to build something different,” Doshi says.

The taste for metrics was something Doshi acquired while doing a summer internship for Slide, the app development company founded in 2005 by PayPal co-founder Max Levchin. Slide was extremely numbers-driven, and Doshi said he’d heard that Levchin “identifies with people like him who stay up until 1 am and code like crazy,” so he barely left the office that summer while working with the analytics team to improve the code for a new product. He wound up making enough of an impression that Levchin became the first contributor to Mixpanel’s $1.75 million seed round after the startup exited Y Combinator in the summer of 2009. (Levchin was joined by Square chief operating officer Keith Rabois, Bebo co-founder Michael Birch, and Sequoia Capital.)

But the biggest validation that Silicon Valley movers and shakers think Mixpanel is onto something came this May, when Andreessen Horowitz led a $10.25 Series A investment. Levchin, Salesforce CEO Marc Benioff, and Yammer CEO David Sacks also participated. “We’ve watched Suhail and his team at Mixpanel transform the company from an innovative startup to one that delivers the most advanced solution we’ve seen for mobile and Web analytics,” said Andreesen Horowitz partner Peter Levine in a press statement.

So if you’re not going to obsess over page views, what else can you track with Mixpanel’s tools? Almost anything. The first step, Doshi explains, is to instrument your software by dropping in a snippet of Mixpanel code at any point where a user might take an action—say, snapping a photo, playing a song, or adding an item to a shopping cart. (Instrumenting is easiest with Javascript, but Mixpanel also works with Ruby, Python, PHP, and other programming languages.) Then, whenever the specified action occurs, the code snippet sends a data point to Mixpanel’s servers. The data point signifies that the event occurred, and also carries data or “properties” describing the event; if a video was played, for example, the properties might say for how long.

Once the data is in Mixpanel’s system, the real analysis can happen. The startup has built online tools that let companies slice and dice their data without having to learn SQL or write database queries. To demonstrate—and to prove that Mixpanel eats its own dog food—Doshi showed me an analytics report on

Author: Wade Roush

Between 2007 and 2014, I was a staff editor for Xconomy in Boston and San Francisco. Since 2008 I've been writing a weekly opinion/review column called VOX: The Voice of Xperience. (From 2008 to 2013 the column was known as World Wide Wade.) I've been writing about science and technology professionally since 1994. Before joining Xconomy in 2007, I was a staff member at MIT’s Technology Review from 2001 to 2006, serving as senior editor, San Francisco bureau chief, and executive editor of TechnologyReview.com. Before that, I was the Boston bureau reporter for Science, managing editor of supercomputing publications at NASA Ames Research Center, and Web editor at e-book pioneer NuvoMedia. I have a B.A. in the history of science from Harvard College and a PhD in the history and social study of science and technology from MIT. I've published articles in Science, Technology Review, IEEE Spectrum, Encyclopaedia Brittanica, Technology and Culture, Alaska Airlines Magazine, and World Business, and I've been a guest of NPR, CNN, CNBC, NECN, WGBH and the PBS NewsHour. I'm a frequent conference participant and enjoy opportunities to moderate panel discussions and on-stage chats. My personal site: waderoush.com My social media coordinates: Twitter: @wroush Facebook: facebook.com/wade.roush LinkedIn: linkedin.com/in/waderoush Google+ : google.com/+WadeRoush YouTube: youtube.com/wroush1967 Flickr: flickr.com/photos/wroush/ Pinterest: pinterest.com/waderoush/