Opened 18 months ago

Closed 16 months ago

Last modified 16 months ago

#3520 closed New feature (fixed)

Tracking API support new Parameters for User Agent and Browser Language

Reported by: fratac Owned by:
Priority: major Milestone: Future releases
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (3)

comment:1 Changed 18 months ago by matt (mattab)

  • Summary changed from More vars in Tracking URL to Tracking API support new Parameters for User Agent and Browser 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.

comment:2 Changed 16 months ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

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.

comment:3 Changed 16 months ago by matt (mattab)

  • Priority changed from normal to major
Note: See TracTickets for help on using tickets.