Unable to view 404 error in Actions > Pages Titles


#1

I have included the code

_paq.push([‘setDocumentTitle’, '404/URL = '+String(document.location.pathname+document.location.search).replace(///g,"%2f") + '/From = ’ + String(document.referrer).replace(///g,"%2f")]);

above _paq.push([“trackPageView”]); as suggested in the document How to - Analytics Platform - Matomo

I can able to track all the visits of the page normally but when I included the above code 404 error entry cannot been seen in Actions > Pages Titles

What should need to do to get page not found(404) error lists.


(Matthieu Aubry) #2

It works for us with the code you can see at: piwik.org/404404