Skip to main content

Command Palette

Search for a command to run...

How to set up Matomo analytics in your Hashnode blog

Published
3 min read
How to set up Matomo analytics in your Hashnode blog

Introduction

Today I bring incredible news; Hashnode has finally added support for Matomo analytics!

Matomo are powerful open source web analytics which gives you 100% data ownership.

I just noticed it in the integrations tab of Hashnode's dashboard, so...

Let's learn how to integrate Matomo in Hashnode!


Before we start

Requirements

  • A Hashnode blog
  • A Matomo server

New Matomo website

To start, you will need to go to your Matomo server and create a new website.

Create it in: All websites > Add a new website.

Now, fill the form with your current Hashnode details, grab the site ID, and you are ready to go!

Matomo form


Add Matomo integration

Now that you have the Matomo site set up, go to your Hashnode dashboard and choose the integrations tab.

There you will see a form for Matomo. Just fill it with your Matomo server details.

Hashnode form


End

And that was it, 100% open source analytics on your Hashnode blog in less than 5 minutes. Easy right?

What's next?

Take a look at your Matomo analytics, you should start to see people coming in to your blog to enjoy your incredible articles. 😉

Self-promotion

If you have found this useful then you should follow me, I will be posting more interesting content! 🥰

Or support me financially. 💸

Conclusion

Congratulations, today you have set up Matomo analytics for your Hashnode blog in a breeze.

Let me know if the tutorial was useful to you in the comments!

J

Hi! I'm trying to add Matomo analytics from a self-hosted Matomo instance on a domain like analytics.example.org without any success. After adding the URL and the site ID to my hashnode settings, I see in my blog's browser inspector that there is a script loaded, but not from the original URL, but from a CDN such as src="//cdn.matomo.cloud/analytics.example.org/matomo.js". This ends in a 404. Can I integrate Matomo without using the CDN URL?

More from this blog

B

Blog - Alejandro Akbal

14 posts

Curated articles about anything and everything.