Skip to content

Tracking IAP & Subscriptions in Firebase

Tracking User-Level Events:

Most analytics platforms– including Firebase– include user in-app purchase events. The product ID, product name, currency, and quantity are passed as parameters. The revenue is reported is gross.

For Android apps, the Firebase account must be connected with Google Play.

For iOS apps, Firebase collects some events but doesn’t communicate or validate these purchases with the App Store– so events that are handled by the store will not be included. For IAP (Consumables) this generally is limited to trials or refunds. For subscriptions, this includes refunds and– critically– renewals. Therefore by default Firebase revenue may differ from values you see on the App Store.

If you’re looking for a solution to IAP & Subscription tracking & validation, our customers recommend RevenueCat.

Tracking Aggregate Earnings

If you’d like to simply track aggregate IAP and Subscription spend earnings, you should pull directly from the store APIs. Which we do in our Revenue Dashboards.

Above is a demo version of our App Revenue Overview, that tracks all revenue earned from your app. Regardless of source.
Previous Collecting MoPub Impression-Level Data as a Firebase Event
Next Impression level tracking with Admob Mediation
Table of Contents