In numeral 4 at https://developers.facebook.com/docs/app-ads/sdk#install-tracking ("Enable Install Tracking"), they say "To enable install tracking call the App Events logger once your application becomes active.". However, I implemented the following line successfully, but it does not seem to be tracking installs:
AppEventsLogger.activateApp(this);
In the Facebook Analytics for Apps reports, I see that the activateApp() method is "App Launches"/, not "App Installs". How can I track installs in Facebook Analytics?
In the SDK >= 4.19 we simplified the track of installs (New Users metric) and activate app (App Launches metric). One should just make sure ApplicationManifest.xml is correctly configured and simply bundle our Android SDK to the App. The SDK will be auto initialized and both install event and activate app will be sent.
More details can be found here:
https://developers.facebook.com/docs/app-events/automatic-event-collection-detail
Related
I'm running beta distribution through hockeyapp and versions are going and sending emails but I'm looking for a way to enable a push notification. The devices we're testing with aren't setup for email so after seeing the mail, testers still need to open the app and find the new build. I was hoping to streamline that process to one click.
You can use the mandatory update feature available in Hockey app.
Go To App -> Manage Version -> Status
Scroll down to Mandatory Update feature at bottom
And set it to enabled.
Based on their description:
Update alpha/beta apps: The app will check with HockeyApp if a new version for your alpha/beta build is available. If yes, it will show a dialog to users and let them see the release notes, the version history and start the installation process right away. You can even force the installation of certain updates.
If you want to customize this behavior and display notification instead of popup you can do so by using net.hockeyapp.android.UpdateManagerListener
While registering for update receiver you can do following:
UpdateManager.register(context, APP_ID, new MyCustomUpdateManagerListener());
In your listener, you can display the notification using notification API. You can find details here
Note: Its mandatory to have Hockey App SDK to be integrated in order to streamline your process. More information regarding this integration is available here
I am integrating with the Facebook Android SDK so that I can correlate app installs with the Facebook Ads that we are running.
I've followed the instructions carefully and I've confirmed that my events are getting logged to Facebook. I've also used JD-GUI to confirm that obfuscation isn't happening on the Facebook classes.
The weird thing is that all my "App Installs" events show an "App Version" of "Unknown" (this screenshot shows me filtering for "App Installs" events):
This might be benign (I'm still investigating), but does anybody know the cause? Thanks!
Facebook ads has a feature that it can knows how many apps are installed from advertising in facebook https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads#advanced
I know google provide referrer/campaign feature to detect which campaigns, websites, and other apps are referring users to Google Play Store to download my app https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#overview . But when I see facebook sdk(android) source code, it doesn't use google campaign mesurement, so which technique it use to measure app installs? And can My app knows if it is installed from advertising in facebook or not(with google campaign, my app can catch the intent after installing and get referrer information to know utm_source)
I did a research on this back in Q4/2015 and have found no way to manually track Facebook install ads in Google Analytics, because Facebook overrides the referrer field, which you'd read from INSTALL_REFERRER intent.
The only official info on this I was able to find is this question on FB help page
We do not support install tracking for web apps not hosted on facebook.com, but you could try using URL tags in order to track specific landing destinations within your app through a third-party analytics platform. Learn more here: https://www.facebook.com/business/help/1016122818401732/?ref=u2u
As an alternative, you can register your app with the Facebook SDK and measure your app installations that way. You can find out how to do that in this developer's guide: https://developers.facebook.com/docs/app-ads/measuring/?ref=u2u
As stated in the first paragraph, there are Facebook's measaurement partners, offering solutions for automating the measurement and pairing the data with your campaigns.
These partners have exclusive access to FB data and are able to track your installs (and generally any in-app activity) from ads.
In theory, if you're the app developer, you can try filling some arbitrary data (not UTM tags) into your ads' url_tags and check if it gets propagated to your app upon install (or deeplinking). If you're able to read the data in the app, you should be able to manually track the event in Google Analytics. But to use this in practice would mean tagging each ad with some unique value and then pairing it with app event. Which is basically what measurement partners do, but way more difficult, because you don't have the data they have.
Facebook analytic provide that type to show how munch your application install that for use this link and follow steps..
here you have to must register your application on facebook devloper and impliment facebook sdk on your application.
For install check set below code on onResume method with particulate Activity class.
#Override
protected void onResume() {
super.onResume();
//For event in update your app install count..
AppEventsLogger.activateApp(this);
}
Facebook event page in you can get count after some time on app installation.
follow below screenshot
I'm running a pay-per-install campaign on iOS an Android. The iOS installs seem to be tracking on the app dashboard, but no Android installs are being reported (there are installs though).
I'm trying to confirm reporting as described here.
You can confirm that the volume of installs is being correctly reported in the Insights section for your app in the App Dashboard under "Mobile App Installs". In addition, in the App Summary Page, after choosing your app, there is a time stamp 'Last Mobile Install Reported" for iOS and Android so that you can confirm that an install is being reported (see image below).
I'm calling AppEventsLogger.activateApp(getActivity(), getString(R.string.fb_app_id)); in my activities as instructed.
I also have the proguard lines to keep the SDK working.
Is there something else I'm missing? Is this a bug on Facebook's end?
It looks like misleading info in the documentation. Tracking was working. Real users are showing up on the dashboard, but my own devices were not.
as subject,
I want to track Android App install, but I want to track any install and not just from mobile Ads. My question, is it possible?
One particular question is: If I run the development version of my app that in theory, is integrated with Facebook SDK, straight from IDE into an emulator, will I see it reflected in "Last Mobile Install" stats in my dashboard? Because apparently, it didn't. If it's not, is there any way to do this in a debug environment in order to confirm whether I'm using Facebook SDK correctly or not?
For reference, I'm calling this line in my onResume() method:
com.facebook.AppEventsLogger.activateApp(this, getString(R.string.facebook_application_id);
Thanks.
Update: So it's probably not a proper question. I concluded that Facebook recorded mobile installs from Android app based on its attributionId. If this value is null, such as if there's no Facebook app or it's not logged in, the mobile installs is simply not recorded. I think.