Questions About Automatic Subscription Lifecycle Events in Firebase Analytics (StoreKit 2, in_app_purchase, app_store_subscription_convert) #15586
Unanswered
ibrahimdevs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m working on subscription tracking for iOS using Firebase Analytics, and I have a few questions regarding how subscription lifecycle events are automatically sent — especially when using StoreKit 2. I want to clarify these points so I can properly configure my Google Ads campaigns.
1.
in_app_purchaseevent — not sent automatically on iOS with StoreKit 2?Based on the documentation, it seems that the
in_app_purchaseevent is not automatically logged when using StoreKit 2:https://firebase.google.com/docs/analytics/measure-in-app-purchases#implementation-apple
I also verified this in the Firebase dashboard — for iOS, this event is almost never logged, which matches what the documentation says.
So my question is:
Do we need to manually send the
in_app_purchaseevent ourselves after a successful purchase when StoreKit 2 is in use?2. Why is
app_store_subscription_convertstill being logged on iOS even thoughin_app_purchaseis not?Even though StoreKit 2 is in use and
in_app_purchaseis not automatically logged, I still seeapp_store_subscription_convertevents appearing in the dashboard for iOS.Is this expected behavior?
According to Google’s documentation:
https://support.google.com/analytics/answer/9234069
This suggests that if
in_app_purchaseis not automatically logged, thenapp_store_subscription_convertshould also not be logged automatically.But I do see it being logged.
Is this event still automatically collected even without the
in_app_purchaseevent being present?Or is there some kind of fallback behavior happening here?
3. How exactly does
app_store_subscription_convertdecide when to fire?Since this event is sent by the SDK, I want to confirm the logic behind when it is triggered.
My understanding:
The event is only sent if the user opens the app after the trial converts.
Example:
In this case, does Firebase only log
app_store_subscription_convertfor those 6 users?I want to confirm whether this understanding is correct.
Thanks in advance!
If anyone has insights or can clarify how Firebase handles these events under StoreKit 2, it would be extremely helpful.
Thanks!
@paulb777 @ncooke3 @andrewheard
Beta Was this translation helpful? Give feedback.
All reactions