Fixing “Page Title Not Defined” in Matomo analytics

Fixing “Page Title Not Defined” in Matomo analytics

For months I’ve had “Page Title Not Defined” popping up in my Matomo analytics. I was concerned about the impact is might be having as it seemed to be fairly consistent “1 per day” coming through. Did I have a bug in my site I needed to fix?

The short answer is no.

After a bit of hunting through server logs I found the culprit. I’ve been subjected to daily spamming through my contact form at a fairly regular rate. The spam’s pretty generic – usually someone trying to sell a freelance writer a bunch of essay writing services. It’s annoying but harmless.

Spammers use software which allows them to fire messages into contact forms and supposedly bypass any captcha or other protections in place. A (welcome) side-effect of this is it doesn’t trigger Matomo properly, hence the “Page Title Not Defined” error.

If you do find “Page Title Not Defined” popping up it is worth having a quick check of your site just to make sure you’re not missing a <title> tag in your heading, as this can also cause it. Otherwise double check your server logs for a correlation between contact or comment form spam and the appearance of the warning.

You can then safely discount these from your analysis, which Matomo has probably done already.

About Ross A Hall

I help companies make the most of content. Some people call me a writer, others a content manager. I prefer "someone who gets results".

Need a hand? Get in touch.

  • twitter
  • pinterest
  • linkedin

Stay in touch

Sign up for weekly learnings from my work and projects, commentary on content and links I've found useful on my travels.

Your email address will not be shared.

Using stock photography to lift your content marketing

Starting a business? Thoughts and reflections on where to begin

What is Search Engine Marketing? An introduction for small business

How to use employees to make your marketing authentic

UK’s Plastic Waste Problem : turning web content to a new use

How I create charts for reports without using Excel

Photographs from December: Reliants, Thunderbirds and shorter nights

How I designed a workflow app for a call centre