Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Tracking API support new Parameters for User Agent and Browser Language #3520

anonymous-piwik-user opened this Issue · 3 comments

2 participants


Add more parameters passed via URL: user-agent, language


Currently these can be passed with the http header but we could indeed add it to the list of tracking parameters. Please comment below if you are interested in this feature or if you have a patch.


Implemented and documented in: Analytics Tracking API

  • ua -- This value is the User-Agent HTTP header string is used by Piwik to detect Operating System and browser used. Note: Alternatively you can set the User-Agent HTTP header instead of using the &ua= parameter.
  • lang -- This value is the Accept-Language HTTP header, which lets Piwik detect user country (based on language) if GeoIP is not enabled. Note: Alternatively you can set the Accept-Language HTTP header instead of using the &lang= parameter.

see also #5365 do not store Accept-language full string, only store detected language

@anonymous-piwik-user anonymous-piwik-user added this to the Future releases milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.