-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Which parameters can uadata
receive using the Tracking HTTP API?
#20128
Comments
Hi @donni106. Thanks for creating the issue. Guess we could improve the documentation around that. Lines 3070 to 3088 in 2c63f27
The values send with uadata then are checked with device detector. So it's not possible to send through random values, as they might get ignored then. |
@sgiehl are you saying that when using Matomo to track mobile apps, there is no way to override device model? How does the |
Yes a custom value is not possible at the moment. Haven't looked at the sdks lately, but I think they were sending though custom useragents that allowed detecting the device. |
Awesome. Thank you for the clarification. For a bit of context: we are using the http api with ReactNative but are unable to use the IOS SDK due to compatibility. We can gather information about the user device but do not know how to populate it on Matomo. Seems to me like the solution is to use a user agent value that best matches the device info. Where could we learn more about Where could we learn more about how Matomo breaks down the user agent and infers device info? |
Matomo uses https://github.com/matomo-org/device-detector/ to detect device / model / client / os. It contains a big list of regular expression to look for certain fragments. |
This is gold. Thank you so very much. @donni106 guess we have our answers. |
In order to transmit several specific values from mobile devices like brand, os, type, ... it seems to be legit to use
uadata
. There is an issue started at donni106/matomo-tracker-react-native#13 about that topic, where values are undefined and presented as unknown in Matomo.Is there a way to enrich the data per
uadata
or what are the correct params to use?https://developer.matomo.org/api-reference/tracking-api#optional-user-info
The text was updated successfully, but these errors were encountered: