Integrating Matomo in Hugo

Hi,

I installed Matomo https://matomo.org/ on my server and wish to integrate it in my blog. What is the best way to do it?
I saw hugo-component-matomo but is it still relevant or is there any other way?

Thank you.

The simplest is to just paste in the JavaScript widget that Matomo gives you in to your baseof.html template.

1 Like