1

Google docs say:

This event is triggered only by versions of your app that include the Firebase SDK. Note: paid app-purchase revenue, subscription revenue (Android only), and refunds are not automatically tracked. Your reported revenue may differ from the values you see in the Google Play Developer Console. Events that are flagged as being invalid or as sandbox (test) are ignored. Only iOS events are flagged as sandbox. Learn more about testing Google Play billing.

In other words in Android only subscriptions events are not tracked automatically. Is there a way how to track them? Do you have any implementation examples?

Angelina
  • 1,473
  • 2
  • 16
  • 34

3 Answers3

6

Yes, Google Analytics for Firebase does not track subscription based purchases on Android automatically. It does track subscription based purchases automatically on iOS.

The way to track subscription based purchases is to log a custom ecommerce_purchases event and provide the necessary CURRENCY and VALUE parameters. Please note that you need to link Firebase to Google Play.

Just to update, as per reports - the Firebase team is actively working on bringing the subscription based purchases to be automatically tracked by the Firebase Android SDK.

AniV
  • 3,997
  • 1
  • 12
  • 17
  • 2
    " the Firebase team is actively working on bringing the subscription based purchases to be automatically tracked by the Firebase Android SDK"... 6 months later... – Michael Sotnikov Feb 01 '19 at 09:52
0

These are tracked for you in the Billing section of the Play Console without any further work. See the docs.

Nick Fortescue
  • 13,530
  • 1
  • 31
  • 37
0

Looks like Firebase enabled it's tracking for subscriptions recently. My observations: Did Firebase start reporting in_app_purchase for subscriptions recently?

Michael Sotnikov
  • 604
  • 3
  • 13