Reputation: 51
We are facing an issue tracking an event named in_app_purchse
Normally this event is auto-tracked by the Firebase Analytics event when the user makes any purchase for our game.
However, we are not able to verify it, even using Debug View or Realtime Analytic Dashboard.
while other auto-track events like ad_rewarded
we can verify via debug view or real-time analytics dashboard.
we have checked Normal App logs using logcat. over there we found a log with FirebaseSessions Sessions SDK disabled. Events will not be sent.
after that, we run these terminal commands to get verbose logs from Firebase.
adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC
after that when we start IAP Purchase as a user from our game we get this logs
02-28 14:45:19.245 D/FA-SVC (31561): Log and bundle. event: in_app_purchase(\_iap)
02-28 14:45:19.247 V/FA-SVC (31561): Checking account type status for ad personalization signals
02-28 14:45:19.247 D/FA-SVC (31561): Turning off ad personalization due to account type
02-28 14:45:19.248 D/FA-SVC (31561): Marking in-app purchase as real-time
02-28 14:45:19.249 D/FA-SVC (31561): Log and bundle processed. event, size, time_ms: in_app_purchase(\_iap), 1447, 4
Once we complete the purchase successfully we get these logs Firebase log for in_app_purchase
(github.com)
These are all logs we are receiving on Log Cat, still the in_app_purchse
event we are unable to verify the event using Firebase /GA4 debug view or RealTime Dashboard.
Build Environment Info:
Testing Device:
Note:
Thanks in advance.
We have tried a few things like
update/Downgrade Firebase Unity SDK in unity and down
Double verified the Firebase Configs
Change Unity Version
Upvotes: 1
Views: 266