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

mattab opened this Issue Mar 13, 2013 · 1 comment

1 participant

Piwik Open Source Analytics member

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

Piwik Open Source Analytics member

In e794cb3: Fixes #3819

Fixes #3818: you can now call piwikTracker.appendToTrackingUrl('lat=X&long=Y');
and disable auth in your config.ini.php

  • Adding test
@mattab mattab added this to the 1.12 - The Great 1.x Backlog milestone Jul 8, 2014
@mattab mattab self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment