How to Install Matomo for WordPress

Since updating to GA4, Google Analytics has become more complicated and less user friendly for your typical small-medium sized business. 

Great if you’re a corporate, but for everyone else? Not so much.

So if you’re running a WordPress website you can get a really good alternative that you can install yourself. Easily. It’s called Matomo and today I’ll show you how to set it up.

In this video:

  1. 0:00 Why Matomo?
  2. 0:43 Install the plugin
  3. 1:09 Basic activation and tracking
  4. 4:06 Keeping your database size under control
  5. 6:27 Test that it’s working
  6. 6:44 Manually triggering the archive function 
  7. 8:59 Tracking phone and email clicks
  8. 13:18 Setting up goals
  9. 17:33 Email reports
  10. 19:01 Bonus tip: Customising your dashboard

Here’s the code you need to track email and phone clicks:

<script>
jQuery(document).ready(function($) {
    $("a[href^='tel:']").on("click", function (e) {
        _paq.push(['trackEvent', 'Contact', 'phone', this.href]);
    });
    $("a[href^='mailto:']").on("click", function (e) {
        _paq.push(['trackEvent', 'Contact', 'email', this.href]);
    })
})
</script>

Get the free worskheet:

13 ways to differentiate your business.

Don't think about it. Do it. Start being meaningfully different today.

We don’t spam! Read our privacy policy for more info.

Why You?

Download our free worksheet to get started!

Strategy first

Get clarity and direction.

Logo design

First impressions matter.
Look the part!

Website design

Your digital home. The property you control.
Make it count.

Ongoing Content

Demonstrate your expertise. Separate yourself from your competition.

Website support

Keep it safe from hackers and in tip-top shape!

Scroll to Top