Last modified February 17, 2015 by Shelly Wolfe

Monetization Queries

Tutorial objective: Building on the LTV tutorial to get more comfortable with the monetization and user data exposed by the Swrve User DBs.

This article explores a typical app’s monetization and how it can reveal user behavior.


How Many Session Starts Occur per IAP?

Now that we’ve learned about how users get to their first purchase, let’s look at behavior surrounding subsequent IAPs. Here we look at how many session starts and IAP events your users have fired, and compare the ratio of session_starts to IAPs. This is broken out by users who make one, two, three or more IAPs, which can be a great way to see how your repeat buyers are behaving.

If you are using the Swrve Insights hosted solution, in the SQL query above, the table name is app_01234_events_fired instead of events_fired.

Example Result

Screen Shot 2014-12-08 at 5.42.39 PM
Actions to Take

The results in this example show a regular pattern, with consistent intervals between sessions for in-app purchases. You’ll want to use this to prime users as they approach these thresholds with in-app messages targeted to users on their 8th, 14th and 20th sessions.


How Many IAPs do Users Make?

We’ve learned how long it takes users to become payers and how many sessions are started by people making one, two, three or more IAPs. This query simply shows how many users have made one or more IAPs.

Example Result

IAPDistribution

Actions To Take

Most payers only make one IAP. We can use the knowledge we’ve gained so far to target them with an in-app message at the appropriate time, and see how user behavior changes.


How Does LTV Vary by Lifetime?

We know how many people buy, when they buy and how often they buy. How much do they spend over their whole active lifetime? Are long term users more valuable than short term users? The query below reveals a histogram of values for total real-world spend in US cents, broken out by player lifetime. Increasing retention and re-engagement are important, but this will show if a user who is active for 50 days actually spends more than one who is active for five days.

Example Result

Lifetime Average Spend Occurrences
0 17 544010
1 57 31500
2 88 23567

How Much Revenue Comes From Users With Different Lifetimes?

The above query is a great way to see how much total spend varies between a long term and a short term user. However, it doesn’t show how much of your total revenue comes from users with long lifetimes versus those with short lifetimes. This query reveals how much of your revenue has come from each user cohort, broken out by days.

Example Result

Screen Shot 2014-12-09 at 3.31.42 PM


Need a hosted solution?
Most Swrve customers can self-host this pipeline; all you have to do is follow the steps in these tutorials. However, if you prefer a turn-key hosted solution, we do offer one as a professional service. There is an additional fee associated with this service. For more information, contact your Customer Success Manager at support@swrve.com.

Need help with Queries?
Swrve support can help you with basic setup and configuration of the pipeline described above. If you need help with your queries, contact our Data Services team at support@swrve.com. They will help you get the most out of your data with dedicated support, pre-built and custom reports, and dedicated data science hours.