AlmaLinux / wiki

The AlmaLinux project documentation.
https://wiki.almalinux.org/
Creative Commons Attribution Share Alike 4.0 International
93 stars 75 forks source link

Add 404 tracking #467

Open bennyvasquez opened 1 month ago

bennyvasquez commented 1 month ago

By default, it seems, Matomo doesn't track 404s. We need to add this, so I can more easily tell if inbound links are hitting the right place, or identify opportunities for additional content. This guide should allow us to do it with ease:

https://matomo.org/faq/how-to/faq_60/

Noam-Alum commented 1 month ago

I'm not sure how to go about integrating this, I found two ways to do so:

Let me know what you guys think :smile: .

bennyvasquez commented 1 month ago

I definitely don't want to go the first way, as, like you said, it feels sketchy. Based on what the guide I linked to says, I think the custom 404 page would work. We can then customize it in the future to be more verbose and helpful, too.