You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there are a few things that need to happen to fix this issue. First, you need to add the Sec-CH-UA headers when serving your website that allow these values to be read. I believe they need to be:
Additionally, if you reference our agent from cdn.trackjs.com you'll need to add the appropriate Permissions-Policy header as well. However, I'd recommend you bundle our agent with your code via npm instead.
Once you've done that, we should be able to get access to the data with the new APIs. However, we're probably not going to implement this just yet as it's pretty likely to change or be abandoned in our opinion. So in the interim, we recommend you use the UA CH retrofill package to your app and calling overrideUserAgentUsingClientHints in your code. This will force the correct userAgent string to be written.
I recently noticed that the wrong Android versions are being registered for Chrome users. As far as I understand, this is the problem https://developers.google.com/privacy-sandbox/blog/user-agent-reduction-android-model-and-version. Tell me how this can be fixed?
The text was updated successfully, but these errors were encountered: