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

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

Closed
mattab opened this issue Mar 13, 2013 · 1 comment
Assignees
Labels
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 Mar 13, 2013

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

mattab commented Mar 13, 2013

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

@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
Labels
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

1 participant