Tracking API Silently Failing


#1

I’m using the tracking to send a bulk list of requests. Possibly the request is invalid, but I just get the following response from Piwik, suggesting it worked ok:

200 - OK - {“status”:“success”,“tracked”:1564}

When I navigate to the UI not a single metric is acknowledged. So I turn on debugging with:

[Tracker]
debug = 1

But the response is the same.

The document says something about the piwik tracking file, piwik.php? (Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3). But directly below says to update config.ini.php. Could you explain this a bit more? It seems like the tracking file (piwik.php) is missing a few details.

Thanks


#2

Sorry, this was an error on my part. I’d forgotten to set rec=1. It might be worthwhile adding this to the debugging information.