Because PostHog offers so many products, and people sign up with all sorts of different needs, we track activation separately for each product.
To learn more about what activation is and how we measure it, check out this blog post.
To make sure we're measuring activation properly, we need to know when someone is interested in using a product. If we put everyone who signs up into the activation funnel for each product - without even knowing if they are actually interested in it - then we'd end up with a super large top of funnel, murky metrics, and a dismal activation rate for all products.
So instead of just putting all people into each activation funnel, we try to identify people who are interested in using a product. In other words, we identify people who show intent to use a product, and we record these people (and the moment the intent happened) as events. These types of events are called product intents. The product intents mark the top of the funnel for each product's activation funnel.
Product intents are:
- Flexible, so they can happen anywhere and any time
- Stored in the database, so we can use them in the product if we want
- Convertible, so we know if someone who has shown intent for a product has successfully activated
When should I start capturing product intents?
As soon as your product is in any sort of public beta you should start tracking product intents. This is not because you should be hyper focusing on your product's activation numbers at this stage - instead it is so that we can start collecting data for later on when we want to determine a good activation metric.
So, collecting product intents should be a precursor to any sort of public release.
What makes a good product intent?
People click around in the UI a fair amount, so generally you want to find something sufficiently deep, or something that happens multiple times, before saying someone has shown intent. Here are a few examples:
- In onboarding, we ask people what products they are interested in. This is a very direct way of indicating intent! If your product has an onboarding flow, we automatically collect a product intent for it.
- For data warehouse, when someone actually clicks to set up a source, we consider that an intent. It's a couple pages deep, so people who've gotten there are less likely to just be clicking around.
- If someone views docs for your product multiple times (you could keep a counter in localstorage), that could be sent as a product intent.
Is the onboarding product intent good enough for my product?
Nope. Lots of people join PostHog with a single product in mind - and then later realize that we offer other products they also want to use. Each product should have product intents being recorded somewhere past onboarding, so they aren't missing out on data about these types of post-signup customers.
How do I use these product intent things?
Generally we've made the plumbing such that recording these product intents is quite easy.
- Figure out where you think the product intent event should happen.
- When someone clicks that button / views that page / does that thing, then simply call
addProductIntent
in theteamLogic
. That fires off an API request that records the product intent in the database and sends the event for you. You don't need to send the event yourself - it's all handled.- If you want, you can include the context of the intent with this API call. Maybe you are recording multiple intents for your product and want to track exactly where the intents are happening or for what reason - you can store that in the
intent_context
.
- If you want, you can include the context of the intent with this API call. Maybe you are recording multiple intents for your product and want to track exactly where the intents are happening or for what reason - you can store that in the
- (optional but recommended) track activation for the product intents here.
- This code is run every time an intent is updated. For example, if the activation criteria is "save 4 insights", and we send a product intent every time someone clicks "new insight", we'll also check at that time if they have 4 insights saved, and if so mark them as activated.
- This part of the product intent plumbing needs some work - we should be able to manually trigger activation checks whenever someone does a certain action (not an Action like a grouping of events but a generic action like something that you just do). If you want to make that change, please do - and update these docs!
Why does this matter?
It's important that we understand if people who are trying to use our product are actually successful in doing so. This is a likely imperfect, but better-than-nothing, way to do that. If people aren't having the success we'd expect for a mature product (ie no large feature gaps with competitors), then we should probably look into why - and this gives us a cohort of people to examine, talk to, and track.