User Agent Header for IOS / Android

Hi all !

I have a question from a client of mine.

How can our iOS/Android tenants avoid sending a user-agent header when sending tracking requests?

We are getting 500 with text "Invalid value "undefined" for header "user-agent.

Any clue?

Many thanks

Hey Frederic,
how are the requests sent? The error message does not seem to be issued by matomo, but probably from a client side http library like superagent.
If that’s the case, then this might be the solution: https://github.com/ladjs/superagent/issues/1479

1 Like

Thank you @peterbo !