AlmaLinux / wiki

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

Add 404 tracking #467

Open bennyvasquez opened 4 months ago

bennyvasquez commented 4 months 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 3 months 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 3 months 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.