Evan Genest's Learning Log

These are notes to myself. If you discover them and find them useful I would love to hear from you. Most of these are related to travel I did, books I read, or tech notes for Matomo and the LAMP stack.


Browse my topics here

In Matomo How Do I Create a New Event and Goal

web analyticsmatomo

Create a Goal

It is tempting to start here, but you may need to define the event for Matomo Analytics first.

There are six default types of goals, found in the menu at Matomo >> Goals >> Add a new goal:

Create an Event

Why go through the effort to make Events? Why not just read the great default stats?

Matomo says it well:

100 people may visit your homepage for 20 minutes, but you won’t necessarily know what they were doing at that time. Did they simply walk away from the screen and grab a coffee? Or did they spend time watching a promotional video, which led to them starting to add their details to a newsletter subscription form which they couldn’t complete due to an error?

Examples of events:

Making an event requires some coding. There are two options for this:

The latter is the best!

Matomo documentation:

https://matomo.org/web-analytics-training/
https://matomo.org/faq/reports/create-a-goal-in-matomo/
https://matomo.org/guide/reports/event-tracking/