expo-facebook not tracking all app install events - facebook

We have installed expo-facebook to our app to track app installs from Facebook Ads. Currently, only about 20% of the new app installs are recorded in Facebook AppEvents analytics, where all app installs should appear whether they come from Facebook ads or not. We also track them with Google Analytics and from App Store and Google Play, so it’s clear that the issue is with expo-facebook/Facebook SDK. We ask for user consent to track the app installs before initializing Facebook with automatic event tracking enabled, but most of the users give their consent.
SDK Version: 40
Android and iOS
expo-facebook
This is how we initialize Facebook and it seems to work, as some events do come through and no errors are thrown with this solution:
try {
await Facebook.initializeAsync({
appId: ‘OUR_APP_ID’,
appName: ‘OUR_APP_NAME’,
autoLogAppEvents: true
})
} catch ({ message }) {
captureException(message)
}
Has anyone else had this issue and come up with a solution? Ejecting to a bare workflow is not an option here.

Related

How to integrate Facebook Pixel Sdk in flutter

I want to integrate the facebook pixel sdk in flutter. Can anyone help me that how i can integrate that in my flutter project
For native app development, Facebook SDK is required.
Flutter Facebook Login Package will provide you, not only the login but also the required SDK.
Next, Facebook_App_Events Package, which is going to help you in sending tracked data to FB, for eg. when a person clicks to watch a video on your app or makes a purchase etc.
An app event is an action that takes place in your app or on your web
page such as a person installing your app or completing a purchase.
Facebook App Events allows you to track these events to view
analytics, measure ad performance, and build audiences for ad
targeting.

Update Google IMA SDK for iOS 14 Privacy Policy for Swift

In iOS 14, you are required to update the Google IMA SDK to support tracking of advertisements.
It requires you to add a new function in order to request access to the user's IDFA:
func requestIDFA() {
ATTrackingManager.requestTrackingAuthorization(completionHandler: { status in
// Tracking authorization completed. Start loading ads here.
// loadAd()
})
}
When this function is called, it initiates a pop up that asks the user if they want to be tracked and gives the user the option to allow or disallow tracking.
The problem I'm having with the Google IMA SDK is i'm running a video pre-roll and when I test the updates for iOS 14 after when I choose "Do not track", i'm no longer able to produce a video preroll.
Does anyone have any insight into this? How can I still show video prerolls to users who choose to not be tracked?
Most of ads buyers still leverage IDFA to target users as of today. Especially for high-valued video preroll ads, they really want to spend every cent of money on the right audience.
How can I still show video prerolls to users who choose to not be tracked?
At this moment, Apple hasn't enforced developers to uses IDFA opt-in dialog. So without a doubt, ads buyers would still and stick to buying IDFA-enabled inventories.
The situation would defintely change after Apple changes their poloicy to make IDFA opt-in only.
I would suggest adding SKAdNetwork config in your Info.plist, following Google's official instruction.

Facebook has blocked logins for my Meteor app because I'm not using a native SDK. How to resolve?

I manage a few Meteor-based apps that use the Facebook login functionality provided through accounts-facebook.
For one app, a week ago, Facebook emailed me saying this app was in violation of their Platform Policy, and that I had to respond to the email to prevent logins from being shut down within a week. Specifically this was the offensive clause:
Platform Policy 8.2: Native iOS and Android apps that implement
Facebook Login must use our official SDKs for Login.
I immediately responded, but (of course?) got no response from Facebook. And, yesterday, I got another email saying Facebook logins have been blocked for this app.
I updated to the latest version of accounts-facebook, appealed the block, and got a response:
We have reviewed your iOS and Android apps and they are still in
violation of the Platform Policy 8.2: Native iOS and Android apps that
implement Facebook Login must use our official SDKs for Login.
So, does this mean that all Meteor apps can get their Facebook login restricted at any time?
How to resolve this?
Today, Facebook went further, telling me that:
Your app has been restricted for creating a negative user experience
that is in violation of our Platform Policies.
Your app cannot be installed by new users.
What are they smoking?
But, whatever they are smoking, how do I resolve this?
I've sent them an email, twice, explaining that, like tens of thousands of others, I'm using the off-the-shelf Meteor package for allowing Facebook logins to my Meteor app. But, all I get back are canned responses that don't respond to my bafflement.

Ionic Facebook plugin work only on one phone

I'm building an Ionic app with Facebook Login support.
I'm setting all as required in the developer.facebook.com settings and on config.xml on ionic config.
The login works fine for only my phone.
On every other phone the method facebook.login(['email']) reject Promise and pass an empty error.
How is it possible, counting that every configuration is compiler-related and not phone-related? There isn't config that uses device information.
Is really strange because I'm expecting does or doesn't work everywhere.
On every phone I've tried, Facebook app is installed and logged. No Facebook Lite installed.
Find the problem.
Facebook dev app was is develop mode so only me can access.
Possible solutions are:
Make in prod mode the app
Add other users facebook account to tester list

Tracking install source in Facebook Analytics with Ionic Framework

I'm tracking App Events in my app (Ionic v1) using the Javascript method and tracking the default events (Achievement Unlocked, Spent Credits, etc.). All the events I'm tracking are successfully recording in the Events and Events Debugging section of the Analytics.
But when I'm in the Breakdowns section, App Installs and App Launches are tracked automatically whereas the rest are not even though all are predefined events.
And when breaking down by install source, there are only Unknowns and Facebook Organic in the other events even if the Install Source in App Launches and App Installs have Facebook Adverts and Instagram Adverts.
How does the analytics track Install Source?
If a user launches the app through Facebook Adverts, and then triggers another app event, shouldn't Facebook Adverts be one of the Install Sources in the Breakdown for the app event?