Evan Genest's Learning Log

I try to write in a clear way but then I become impatient and just start jotting.

Browse my topics here

This is an Eleventy project created from the eleventy-base-blog repo.

In Matomo How Do I Create a New Event and Goal

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: