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

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

@mattab
Owner

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

@halfdan halfdan added this to the 2.0 - Piwik 2.0 milestone
@mattab mattab was assigned by halfdan
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@halfdan halfdan Fix authentication for bulk tracking
refs #4135
8c1fcc1
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@mattab 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.