-
Notifications
You must be signed in to change notification settings - Fork 166
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
Device information and operating system not being tracked #329
Comments
Hi @ThomasGoehringer, thanks for the question. I was away for some longer holidays and just got time to check that. Are you sure you updated to 7.2? There was a bug in <7.2 (see #322) that resulted in exactly that problem but should be fixed in 7.2 |
Yes, I'm sure. My Podfile defines |
Hi @ThomasGoehringer and @SSenocico, thanks for the followup. I think I know the problem now. It looks like the problem that you are encountering is that it takes some time to generate the Can you do me a favor to confirm my suspicion?
|
One more idea. If that doesn't work please try to Thanks a lot upfront! |
Sorry, none of those worked. Can you confirm, @SSenocico?
Is that what you wanted me to try? |
@ThomasGoehringer Yes, I can confirm that it is the same for me. |
Thanks a lot for getting back to me and helping me understanding this problem. Can you do me a favor and, just for testing, install Matomo from the Then please make sure an event is created and it's eventually dispatched. I am curious to have a look at the log. Feel free do redact a server url or other information. It should look something like this:
|
Hi @brototyp The logs are:
|
Thanks a lot @SSenocico, that helps! I can see we are missing the Does the project override the user agent some how? I'll add some more logs and we can go for another round of testing here. I think we are slowly inching forward. |
My log looks the same with the userAgent line missing. |
No, not at all. |
Alright. I added a few more logs to the custom branch. Can you try the same again? |
@brototyp
|
That's interesting. Now there is a proper userAgent in these requests. Can you check if this worked on the backend side and if you now got the information there? |
@brototyp I am having the same issue. UserAgent is missing in my logs. |
Can you please attach your logs? |
@brototyp Seems that now it appears: Other logs:
|
@brototyp Here is the log related to matomo: Actually, I have just added Matomo to my app and still exploring docs, but getting useragent and up and running is at most priority. (I mean device and os detection in matomo cloud) |
@brototyp It seems there is some threading issue (in the callback of user agent setting), I have tried to debug it using breakpoints. I have added '7.0.1' and it is working fine now. |
Hey @SSenocico, thanks for your effort in debugging this issue together with me. I updated the |
I tested it again and it all seems to work fine. I checked the dashboard and all the events are there. From my side, I confirm that this issue is now resolved 🥳🎉 |
Alright, I can confirm the issue as resolved, too. |
Thanks a lot! That was a tricky thing to find out. |
Alright. This is merged and will be part of the next release. Thanks for the help! |
I just migrated from 5.x to 7.2 of MatomoTracker and now all device information and the operating system are not tracked anymore.
Am I missing any important code changes? Because I did not change any of my code.
The text was updated successfully, but these errors were encountered: