Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Properly handle bulk tracking #4135

Closed
halfdan opened this Issue · 2 comments

3 participants

Fabian Becker Anonymous Piwik user Matthieu Aubry
Fabian Becker
Collaborator

There are some flaws in the current way bulk tracking is handled:

Code:

Sent to security@.

Documentation:
The documentation only shows only one way to format the JSON data (http://piwik.org/docs/tracking-api/reference/#toc-advanced-bulk-tracking-requests). It is much cleaner to send the request strings as array (although there might be a little overhead).

E.g. this is a completely valid request:

{
   "requests": [
      { idsite: 1, url: "http://example.org", action_name: "Test bulk log Pageview", rec: 1 },
      { idsite: 1, url: "http://example.net/test.htm", action_name: "Another bulk page view", rec:1 }
   ],
   "token_auth": "33dc3f2536d3025974cccb4b4d2d98f4"
}
Anonymous Piwik user

In 8c1fcc1: Fix authentication for bulk tracking

refs #4135

Matthieu Aubry
Owner

In 15dcd00: Fixes #4135 kuddos @halfdan for finding the bug & patch!

Fabian Becker halfdan added this to the 2.0 - Piwik 2.0 milestone
Matthieu Aubry mattab was assigned by halfdan
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Fabian Becker halfdan Fix authentication for bulk tracking
refs #4135
8c1fcc1
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Matthieu Aubry mattab Fixes #4135 kuddos @halfdan for finding the bug & patch! 15dcd00
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.