Upcoming User-Agent Reduction in all Chromium based browsers


Google announced that it will stop supporting User Agent header in original scope. This means the info we used to consume to detect device/OS/browsers will be significantly limited in User Agent.

Google is trying to enforce migration to User-Agent Client Hints. Now important questions:

  1. Is Matomo team/product ready for this?
  2. Is Matomo ready for User-Agent Client Hints?

Usin paid cloud version.

I’m really shocked that no Matomo representative has answered above questions.

30 days passed, Matomo come on!

Hi @nagyalex
As you use the cloud version, you can ask by mail to the support team…

According reply from support:

It looks like this change has already been rolled out according to this guide: https://developers.google.com/privacy-sandbox/protections/user-agent

Matomo already looks for client/browser hints: https://github.com/matomo-org/device-detector/blob/c9952fc4d31dd249d2bf7dc88ca9963c7a2739b7/Parser/Client/Hints/BrowserHints.php

This change shouldn’t affect much unless a visitor uses a browser that doesn’t support client hints.

1 Like

Cloud Matomo uses https://github.com/matomo-org/device-detector/tree/master

The Universal Device Detection library will parse any User Agent and detect the browser, operating system, device used (desktop, tablet, mobile, tv, cars, console, etc.), brand and model.

1 Like