#3481 closed New feature (fixed)

Set lat/long via Tracking API

Reported by: matt Owned by: capedfuzz
Priority: critical Milestone: 1.10 - Piwik 1.10
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by matt)

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

Change History (6)

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

  • Description modified (diff)

comment:2 Changed 17 months ago by capedfuzz (diosmosis)

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

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

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

  • Resolution fixed deleted
  • Status changed from closed to reopened

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?

comment:4 Changed 17 months ago by matt (mattab)

(In [7569]) refs #3481 Phpdoc update

comment:5 Changed 17 months ago by capedfuzz (diosmosis)

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

comment:6 Changed 17 months ago by capedfuzz (diosmosis)

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.