Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set lat/long via Tracking API #3481

Closed
mattab opened this issue Oct 26, 2012 · 4 comments
Closed

Set lat/long via Tracking API #3481

mattab opened this issue Oct 26, 2012 · 4 comments
Assignees
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Oct 26, 2012

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
Copy link
Member

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

@mattab
Copy link
Member Author

mattab commented Dec 4, 2012

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
Copy link
Member Author

mattab commented Dec 4, 2012

(In [7569]) refs #3481 Phpdoc update

@diosmosis
Copy link
Member

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants