New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Best way to track 404 errors? #6580
Comments
Hey :) From a UX point of view both ways you adressed have in common that a user has to take action, either by checking the "Actions > Page Title" report and looking at the Transitions-Popup, or by switching to a segment displaying the results of a custom variable. What I perceive as much easier UX wise is the following concept: Reading thru the PIWIK documentation, I found the "Ecommerce Activity log", which seems to be capable of showing the data I was looking for, if I'd dare to declare the 404 as an ecommerce goal. What I am trying to point out is: It would be very helpfull to have error indication at the same display level as the "flag / shopping cart" icons - and since we are tracking "anti-goals" here, some less enthusiastic icon would be needed :) The ecommerce reports looked very promising for setting a focus on visitors which experienced errors, so maybe a solution can be found there. |
maybe a list of all 404 urls and the referres used to go there what do you think? |
this is also related to |
There is a FAQ entry how broken URLs/missing pages can be tracked. It suggests tweaking the tracked page title to contain the page title, HTTP referer and page URL.
This looks a bit hackish to me, so I figured out how custom variables and segmentation could also be used to achieve similar results and wrote a blog post about it. What I did not know at the time of writing is that the "Actions > Page Title" report will split the title at boundaries ("/" by default) and provide aggregated numbers. So, you should be able to get information for a) all 404 pages, b) for a particular missing URL and c) for all referers to a particular URL.
Then I came across matomo-org/developer-documentation#19 where custom variables are used on the error page, just like described in my blog post.
Thus, I'd like to open a discussion on which way might be better. What are the pros and cons of each? Does one yield insight the other one cannot provide? Does it make sense to use both?
Some aspects to get us started:
The text was updated successfully, but these errors were encountered: