This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sending events to Facebook on iOS 14+ #113
Comments
I have the same problem. Please let me know if you find any solution. |
I've been having the same issue. I got it to work somehow by initializing in |
Been able to resolve this. You have to request tracking permission before logging events would work. I used this package https://pub.dev/packages/app_tracking_transparency. |
I am having the same problem. Do I need to update to the 0.12 version? I am also using 0.11.2 to avoid the null safety.. |
@jpiabrantes I don't think you need to update. You have to request a permission from the user before event tracking would work on iOS 14.5 |
@faithomotoso I am asking for permission with https://pub.dev/packages/app_tracking_transparency and it is still not working. I really don't want to update to 2.0. |
@jpiabrantes go to settings and select the app you're working on, check if there's an allow tracking button. Also it takes a while for events to be sent to facebook, about 20 minutes or so |
@faithomotoso There's an allow tracking button, and it's on! I am testing the facebook events as it is explained here they say events should appear within 30 secs. |
@jpiabrantes Okay, that part never worked for me, probably because of SKAdAPI on iOS 14.5. But wait a while, should show up in the main events. |
@faithomotoso One event is getting through (the View Content), however, it does not show the parameters I've sent. The other events don't even appear on the list. Any ideas? |
@jpiabrantes Confirm if the time for the events is |
@faithomotoso I've just tried the real-time events test with Android. No events are shown too. |
@jpiabrantes Do you mind sharing how you implemented it? |
@faithomotoso Automatically logged events are working in your setup? |
@AntonLT yes. App installs and launch gets logged. Although I've only ever used a simulator. |
@faithomotoso Please, describe what you have done so it's working |
@faithomotoso Thank you! I meant what steps you have done prior to the moment of requesting tracking permission. It would help me much. |
@AntonLT I followed the docs to setup, added the required keys in
remember to import |
@faithomotoso Thank you! What have you entered in CLIENT-TOKEN? Did you get the token somewhere? Maybe you could provide some pseudo-example? |
@AntonLT yes I did. Forgot about that. You'll find it under advanced settings. |
This solved my problem! YAAAAY However, I made no changes to my |
@jpiabrantes Good to hear! Yeah was trying a lot of things with |
Oh, I have done everything, but automatically logged events don't work and only for ios... |
@AntonLT Please confirm if there's an |
@faithomotoso, yeah, there are 😔 |
@AntonLT in
|
OMG, it's working! Thank you so much, @faithomotoso. |
I don't have this on my |
@jpiabrantes @faithomotoso What version are you using? Events are not logged on IOS, even though I have fully configured. |
I am on 0.11.2. I don't have the LSApplicationQueriesSchemes. |
@jpiabrantes Do you need any special configuration? |
@hahai96 Can you check under settings if your app has the |
Any of the stuff mentioned here does not work for me |
I added the app_tracking_transparency library and made sure I have "Enable tracking" on in Settings. I am getting some Purchase events in my Facebook ads dashboard, however my analytics dashboard shows 5-6x more Purchase events than that. Is this because a user needs to tap "Allow tracking" on the dialogue in order for any event of theirs to be logged? I read here that Facebook will still track the top-priority event (Purchases) for users who opt out of tracking, but am not sure if I'm missing something. @jpiabrantes @faithomotoso @AntonLT are you tracking Purchase events? If so, can you clarify if you are receiving ALL Purchase events or only those for users who explicitly opt in to tracking? Thank you! |
@jenkliu I'm not tracking purchase events. I think users have to allow tracking before anything is sent to facebook. |
I will convert this to a discussion, as it seems to be a very relevant discussion with good information for future troubleshooting. But it doesn't seem to be an issue to be fixed in the plugin, as I understand from the thread. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Expected Behavior
Sending events from iOS 14 and receive them at the events tester.
Current Behavior
No events received.
Possible Solution
I read about upgrade Facebook SDK version at least to 8.0 (9.0 if you need login), but I think that is not the problem. Here we use 9.1
Steps to Reproduce (for bugs)
Context
We are working to improve our analytics for better campaigns and better KPIs.
Your Environment
The text was updated successfully, but these errors were encountered: