Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
anonymous-piwik-user opened this Issue · 3 comments

2 participants

Anonymous Piwik user Matthieu Aubry
Anonymous Piwik user

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

Matthieu Aubry
Owner

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.

Matthieu Aubry
Owner

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.
Matthieu Aubry
Owner

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.