Retention Analysis

You can use Keen IO to figure out if people like your app and keep using it over time. Retention analysis works by determining how many entities that do an activity in a given week do an activity in subsequent weeks. For example, retention analysis can help you answer questions like:

  • What percentage of your new users from last week came back and used your app this week?
  • What’s your retention rate at 5 weeks? 15 weeks?

For more info on how retention analysis works, checkout the blog post How to Do a Retention Analysis.

Below are a few example methods for analyzing retention:

Retention Analysis in Ruby

Here’s a ruby script that generates a week over week retention analysis like this:

Retention Analysis Table

Retention Analysis Graph

Checkout the recipe for this analysis in our JavaScript Wiki.

Note: If you’re still on the old version, V2, of the Keen IO JavaScript library, use this recipe.