Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Set lat/long via Tracking API #3481

Closed
mattab opened this Issue · 4 comments

2 participants

Matthieu Aubry Benaka
Matthieu Aubry
Owner

It should be possible to overwrite lat/long via the Tracking API. I suggest two new parameters:

  • lat
  • long but, if it's possible/trivial, we may also want to add
  • city
  • region
  • country which, when set, would override any value that would be set by a LocationProvider otherwise.

Add test cases to test these api parameter with a geoip module enabled.

Also, please suggest Tracking API Reference doc text for new parameters

Benaka
Collaborator

(In [7480]) Fixes #3481, added extra tracking query parameters: lat, long, city, region, country.

Matthieu Aubry
Owner

reopening, as the documentation update is needed, can you edit the page: http://piwik.org/docs/tracking-api/reference/ to add doc for these new parameter?

Matthieu Aubry
Owner

(In [7569]) refs #3481 Phpdoc update

Benaka
Collaborator

Matt, I just updated the tracking docs, let me know what you think of my changes.

Matthieu Aubry mattab added this to the 1.10 - Piwik 1.10 milestone
Benaka diosmosis was assigned by mattab
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.