Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

JS Tracking client: add appendToTrackingUrl function to let user specify: visitor id,IP,datetime, lat/long, geolocation,etc. #3819

Closed
mattab opened this Issue · 1 comment

1 participant

Matthieu Aubry
Matthieu Aubry
Owner

Currently the JS API only implements these features that are "publicly" settable without "token_auth" authentication. For example the fields: visitor id,IP,datetime, lat/long, geolocation,etc. require authentication.

We will add a new appendToTrackingUrl() function to let user append Piwik Tracking API parameters to the URL in JS.

You may have to "Disable" the user authentication for setting these parameters. See: https://github.com/piwik/piwik/blob/master/config/global.ini.php#L411

Related to #3818

Matthieu Aubry
Owner

In e794cb3: Fixes #3819

Fixes #3818: you can now call piwikTracker.appendToTrackingUrl('lat=X&long=Y');
and disable auth in your config.ini.php
https://github.com/piwik/piwik/blob/master/config/global.ini.php#L411

  • Adding test
Matthieu Aubry mattab added this to the 1.12 - The Great 1.x Backlog milestone
Matthieu Aubry mattab self-assigned this
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.