PHPfox-Official / phpfox-v4-feature-requests

phpFox Feature Request Tracker https://phpfox.com
6 stars 12 forks source link

Firebase Event Tracking #953

Open jwpwhite opened 4 years ago

jwpwhite commented 4 years ago

Hi I noticed that Firebase Event Tracking for the phpFox mobile app does not include any events for user registrations and for sharing content. These are really important events to track, especially when you need to track return on investment from advertising. Here is a link to the Firebase documentation that describes the sign_up and share event: https://support.google.com/firebase/answer/6317498?authuser=3

This is the Java code to Start logging the sign_up event: Bundle bundle = new Bundle(); bundle.putString(FirebaseAnalytics.Param.METHOD, method); mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SIGN_UP, bundle);

This is the Java code to Start logging the share event: Bundle bundle = new Bundle(); bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, contentType); bundle.putString(FirebaseAnalytics.Param.ITEM_ID, itemId); mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SHARE, bundle);

It would be great if these could be added in a future release of the app.