Skip to content

Loading…

Set lat/long via Tracking API #3481

Closed
mattab opened this Issue · 4 comments

2 participants

@mattab
Piwik Open Source Analytics member

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

@diosmosis
Piwik Open Source Analytics member

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

@mattab
Piwik Open Source Analytics member

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?

@mattab
Piwik Open Source Analytics member

(In [7569]) refs #3481 Phpdoc update

@diosmosis
Piwik Open Source Analytics member

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

@mattab mattab added this to the 1.10 - Piwik 1.10 milestone
@diosmosis 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.