You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been attempting to add bulk tracking on an Android app and haven't been successful thus far. This is an example of the JSON body I send over in the post request.
Furthermore, I've also tried the example (the curl call) provided in the documentation (http://developer.piwik.org/api-reference/tracking-api) under bulk operations. The curl example returns the same success message as the one above, but doesn't actually add any visits to the Piwik admin.
I did change the URLs provided in the example curl call to point at my own Piwik server.
I also tried removing the back slashes (this returns "{"status":"success","tracked":2}").
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I've been attempting to add bulk tracking on an Android app and haven't been successful thus far. This is an example of the JSON body I send over in the post request.
Furthermore, I've also tried the example (the curl call) provided in the documentation (http://developer.piwik.org/api-reference/tracking-api) under bulk operations. The curl example returns the same success message as the one above, but doesn't actually add any visits to the Piwik admin.
I did change the URLs provided in the example curl call to point at my own Piwik server.
I also tried removing the back slashes (this returns "{"status":"success","tracked":0}").
did you check in your database, log_visit table, and check that no data was recorded?
Can you try to remove the &_cvar and &cvar parameter? maybe you are hitting this bug with custom variables: #4848 bulk tracking requests with custom variables need to be double encoded
The log visit doesn't have the new entries inside it. I've also tried removing cvar and _cvar as well as all the back slashes and nothing is added to the table.
Hi
I've been attempting to add bulk tracking on an Android app and haven't been successful thus far. This is an example of the JSON body I send over in the post request.
{"requests":Galaxy Nexus","2":version","Android: 4.3","1":Version","1.5"}&cvar={"3":version","Android: 4.3","2":Version","1.5","5":Galaxy Nexus","4":[(Linux; U; Android 4.3; Galaxy Nexus Build/JWR66Y)","?idsite=1&rec=1&apiv=1&url=http://www.example.com/screen/registration/three&_id=7bb55742011796cb&cookie=false&_cvar={"3":"Platform","Samsung Galaxy Nexus","2":version","Android: 4.3","1":Version","1.5"}&cvar={"3":version","Android: 4.3","2":Version","1.5","5":Galaxy Nexus","4":(Linux; U; Android 4.3; Galaxy Nexus Build/JWR66Y)","token_auth":"<token_goes_here>"}
I get the following response:
{"status":"success","tracked":2}
Furthermore, I've also tried the example (the curl call) provided in the documentation (http://developer.piwik.org/api-reference/tracking-api) under bulk operations. The curl example returns the same success message as the one above, but doesn't actually add any visits to the Piwik admin.
I did change the URLs provided in the example curl call to point at my own Piwik server.
I also tried removing the back slashes (this returns "{"status":"success","tracked":2}").
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: