@mattab opened this Issue on March 13th 2013 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

@mattab commented on March 13th 2013 Owner

In e794cb331a72133ea065edaa8b8cdc0a737a8d4f: 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
This Issue was closed on March 13th 2013
Powered by GitHub Issue Mirror