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
Piwik Tracking API documentation needs updating #3922
Comments
I looked at the code and it should already be working. I suspect it didn't work in your case because, http://example.org should be URL encoded in the string (as well as other parameters). The API code should work for both Query strings and array of parameters. If you try again with encoded parameters and it still not working for you please post the "CURL" command used to reproduce and I'll look into it! |
Attachment: |
Attachment: |
Attachment: |
Attachment: |
Nope, it doesn't work. please see the attached... There is a "bad sending", which is the example data that is up on the documentation page, and the results pulled from Fiddler (can't do curl, we're on windows hosting and I'm not going to be able to get the windows version installed), and a "good send" and the results. |
Can you please send the example URLs that does not work in your case, so I can try reproduce the issue? |
I'm using the example from the documentation (Found Here): http://example.org As I said in my initial report, I analyzed what was being sent from import_logs.py to the server and there is no url encoding happening. It's as posted in the original request. The posted data needs to follow that format or else piwik will reject it when going over POST |
I tested the command:
|
The documentation on the help page for bulk tracking needs to be updated. Currently it says that the request needs to be sent as a json string that looks like this:
However, this was not working. Inspecting a response sent from import_logs.py via Fiddler2, the request that is sent to piwik.php actually looks like this:
Keywords: bulk tracking
The text was updated successfully, but these errors were encountered: