Three Ways to Build Better Products Through Analytics


January 18, 2022

This article was originally posted on

This is a special guest blog post written by Joe Martin from the open-source product analytics company PostHog. The Scarf team is excited to partner with PostHog to deliver exclusive content at the intersection of analytics and open-source. Let us know what you think!

At its core, developing successful products is a matter of listening to users and tuning everything to their needs. ‘Listening’ can be a misleading word however, as often users don’t tell you what they need explicitly — and that’s where analytics comes in. By gathering and analyzing information from within your product you can identify areas of focus and generate ideas on how to improve.

There are a number of tools you can use to collect data about how your product is used, including open-source software such as Scarf or PostHog. In this article we’ll explain three ways you can use such tools to improve your projects.

Funnels and metrics

Funnel analysis enables you to see how a group of users move through a sequence of actions. A typical example would be a sign-up or deployment process, wherein you track how many users discover your project, sign-up and then deploy successfully. 

At PostHog, funnels are one of frequently used tools for engineers and we represent the information visually so it becomes trivial to spot areas for improvement. Some organizations, such as the open-source GraphQL engine Hasura, have even used funnels to improve their onboarding processes by as much as 10-20%

However, it’s also possible to apply the funnel concept to an entire project. The AARRR ‘pirate metrics’ framework is a system to track how successful a project is by monitoring the following steps:

  • Acquisition (How many users find your product?)
  • Activation (How many users use your product?)
  • Retention (How many users continue using your product?)
  • Referral (How many users tell others about your product?)
  • Revenue (How many users pay for your product?)

Don’t be fooled by the cute name — the pirate metrics framework is an essential tool for any modern product and enables you to quickly isolate where you should be focusing your efforts.


At PostHog, we don’t approach documentation as merely a manual we have to write; we view it as part of the product itself. We put a lot of effort into creating new product analytics tutorials and accepting feedback or updates from the community. It was this focus which even led us to discover Scarf!

Part of the reason we believe it’s important to analyze documentation usage because it’s a way in which we can get further insight into what users really want to accomplish and where they experience friction. If, for example, we see that users are spending a lot of time reading about how to use session recording then we can infer a high level of interest in that tool — but if we see the actual usage is low then we know that we’re falling short of the mark. 

Documentation is also especially important for open-source projects, where users rely heavily on READMEs and deployment tutorials. Scarf’s Documentation Insights tool is tailor made for such occasions, enabling you to measure which parts of your documentation are most popular and with whom. 


Once you’ve begun using the AARRR framework and tracking users across your product and documentation, it’s time to take things one step further and start testing changes. 

At PostHog, we test product changes by rolling them out behind feature flags which are enabled for a fixed percentage of users or organizations. This obviously enables us to collect qualitative feedback from the test group, but it also gives us a control group to compare quantitative results from. 

Using feature flags in this way is especially powerful because you can steadily increase the number of users in the group, or disable it instantly if needed. Other successful products, such as MentionMe and Phantom in this way, though dedicated experimentation tools such as Optimizely offer alternative methods. 

Whatever tool you use, constant experimentation is essential to making sure that changes and updates drive your project forwards, rather than back — another example of how analytics can help you build better products. 


Joe Martin leads Product Marketing at PostHog, the open-source product analytics suite which you can host yourself.

Latest blog posts

Tools and strategies modern teams need to help their companies grow.

How to Get the Attention of an Open Source Software Investor

How to Get the Attention of an Open Source Software Investor

On the Hacking Open Source Business podcast, Joseph Jacks aka JJ (Founder, OSS Capital) joins Avi Press (Founder and CEO, Scarf) and Matt Yonkovit (The HOSS, Scarf) to share what you need to know before starting a commercial open source software (COSS) company and how you can set yourself and your project apart in a way that attracts investor funding. As an investor who exclusively focuses on open source startups, JJ provides a VC perspective on what he looks for when evaluating investment opportunities.
Heroic Labs' Journey to Open Source and 5.3M Docker Downloads

Heroic Labs' Journey to Open Source and 5.3M Docker Downloads

On The Hacking Open Source Business podcast, CEO Chris Molozian and Head of Developer Relations Gabriel Pene at Heroic Labs elaborate on their usage and shift to open source and how it accelerated their adoption.
How to Keep Open Source Projects Open Source

How to Keep Open Source Projects Open Source

In this recap of the first episode of the Hacking Open Source Business Podcast, co-hosts Matt Yonkovit and Avi Press, Scarf Founder and CEO, dig into a recent controversy that highlights the challenges open source projects face trying to create sustainable revenue streams to support a business or a non-profit that funds the project’s growth.