Matomo not tracking any data

(Arief Donie) #1

So, what’s your solution?

same thing happen to me, I think I’ve done everything right, and no error message both in matomo and my tracked website, but it won’t start counting. Somebody can share your experience or suggestion here?


Tracking Problem
Tracking Problem
(Lukas Winkler) #2

Hi @ariefdonie,

Do the requests to piwik.js and piwik.php work?

Then you can try enabling Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3
and then the piwik.php request will verbosely explain why the data isn’t saved.

(Arief Donie) #3

Hi Lukas, when I open /piwik.php the page display: “This resource is part of Matomo. Keep full control of your data with the leading free and open source digital analytics platform for web and mobile”. is it right?

on the other hand, I can acces /piwik.js without problem from internet without loging in.


(Lukas Winkler) #4

Sorry, I meant when you open your website, do the requests in the network tab to those two files go through?

(Arief Donie) #5

There is no error message at all from browser debugger when I access my tracked web homepage. So I thought there’s no connection problem. yes, I can view piwik.js from debugger menu

(Lukas Winkler) #6

Then I’d recommend to enable debugging (as linked above) and check the piwik.php response in the network tab. It should show a log.

(Arief Donie) #7

in the network tab, there are a yellow flag about piwik.php and piwik.js. it states 302 Object moved, and the remote adress column contains my local IP not my domain or public IP. What should I do then?

(Lukas Winkler) #8


Both of this shouldn’t happen but are done by your webserver, so you’ll need to check the webserver config.

(Arief Donie) #9

Hi Lukas, do you have any idea or hint what part of web config I should check up? Thanks

(Lukas Winkler) #10

Honestly no,
There are far to many things that depend on what kind of server, os, etc. so it’s hard to make remote diagnostics.

(Arief Donie) #11

OK then, I’ll try to consult my network administrator, thank you anyway for your suggestion.


(Arief Donie) #12

SOLVED. My Network administrator detects method GET /piwik.php? as an attack so that we have to add this event as an exception.