-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
🐛 [firebase_analytics] Event log in incorrect platform after calling "logCampaignDetails" #11958
Comments
Thanks for the report @felixkwok2 |
Thanks for your reply. @darshankawar Although we are both talking about logCampaignDetails, I think the cases are quite different.
|
Thanks for the feedback. Reopening. |
I've set it and will come back to it tomorrow to check I get same results as you reported or not. |
Thanks for your reply. In DebugView,
In Flutter log,
Thank you. |
Thanks for the updates. In Flutter log, I do see the iOS events as being captured correctly similar to what you shared above:
In the analytics dashboard though, they are being logged as Android itself than iOS. Based on these outcomes, I am not totally sure if this is a plugin issue or something at the firebase dashboard itself, but based on the report, I'll keep this issue open for team's input. |
Thanks for your testing and reply. |
In addition, I would like to know if I am using this function correctly. We are trying log the utm parameters when user click on our link to open the app (eg: www.ourcompany.com?utm_campaign=c&utm_source=s&utm_medium=m) When the app is launched by clicking the link, we extract the utm parameters and call the function "logCampaignDetails()". Is it a correct way to log the utm parameters in analytics? Thank you. |
I just found a user with same issue. #8456 BTW, or any other parties I should reported to about this issue? Thank you so much. |
Bug report
I am trying to log the utm parameter by calling "FirebaseAnalytics.instance.logCampaignDetails" in flutter
After calling this function, I found that all the following events are logged as "Android Platform" even I am using an iOS real device
If "logCampaignDetails" is not called, events are logged in correct platform (Android and iOS)
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Event count should be correctly counted in each platform.
But the actual result is all events are counted as "Android", as you can see in the diagram
If the code "logCampaignDetails" is removed, the events are log in individual platform correctly
![Screenshot 2023-11-29 at 12 15 07](https://cdn.statically.io/img/private-user-images.githubusercontent.com/139938754/286474860-da34cdee-19b3-46cf-84b1-fba977ac8c0b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MzQ5MzAsIm5iZiI6MTcyMTQzNDYzMCwicGF0aCI6Ii8xMzk5Mzg3NTQvMjg2NDc0ODYwLWRhMzRjZGVlLTE5YjMtNDZjZi04NGIxLWZiYTk3N2FjOGMwYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMFQwMDE3MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNzhhOGU3ZDYxYWEwZjE4MjQ2OGE4ZmZhNzAwNzBjYTM4MWZjNTViMmQzNTAzOTczN2VkMmNkNGU3OTczMGYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.n-m7UEG2oPudr1PxUrsnevgtcuqa5sDmDq5Pqk1wK2k)
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: