Matomo (formerly Piwik) is a powerful, privacy‑focused analytics platform that you can self‑host or use in the cloud.
It’s a great alternative to Google Analytics - especially for GDPR‑compliant, privacy‑first websites.

Vvveb CMS makes Matomo integration simple using the Insert Footer Header Scripts plugin.

This guide walks you through creating a Matomo site, getting your tracking code, and adding it to your Vvveb website.


Create or Access Your Matomo Installation

You can use Matomo in two ways:

Option A - Matomo Cloud

Go to:
https://matomo.org/matomo-cloud/
Sign up and create your account.

Option B - Self‑Hosted Matomo

Download from:
https://matomo.org/download/
Install it on your server following the setup wizard.

Once installed, log in to your Matomo dashboard.


Add Your Website in Matomo

Inside the Matomo dashboard:

  1. Go to Administration (️) → Websites → Manage Click Add a new website Enter:
    • Website name
    • Website URL
    • Timezone
    • Ecommerce settings (optional)

Click Save.

Matomo will now generate a JavaScript Tracking Code for your site.


Copy Your Matomo Tracking Code

After adding your site, Matomo shows a code snippet similar to:

<!-- Matomo -->
<script>
  var _paq = window._paq = window._paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="https://YOUR-MATOMO-DOMAIN/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '1']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Matomo Code -->

Copy the entire script - you’ll paste it into Vvveb next.


Add the Matomo Script in Vvveb

Vvveb makes it easy to insert tracking scripts using the Insert Footer Header Scripts plugin.

Insert your Matomo script Open the plugin settings

  1. Paste your Matomo tracking code into the Header Scripts field
    (Matomo recommends placing the script in the <head> section)
  2. Save your changes

Your Matomo tracking code is now active on every page of your site.


Verify That Matomo Is Tracking

To confirm everything is working:

Option A - Matomo Real‑Time Dashboard Go to Dashboard → Real‑time Visitors Open your website in a new tab

  1. Refresh the page

You should see your visit appear in real‑time.

Option B - Browser Developer Tools Open your website

  1. Open Developer Tools → Network Look for requests to:
    • matomo.js
    • matomo.php

If these requests appear, tracking is active.


Your Vvveb Site Is Now Connected to Matomo

You’ve successfully integrated Matomo with Vvveb CMS.
From here, you can explore:

  • Real‑time visitor tracking
  • Heatmaps & session recordings (if enabled)
  • Conversion tracking
  • Campaign attribution
  • Custom events
  • Ecommerce analytics
  • GDPR‑compliant analytics

Matomo gives you full data ownership and privacy‑friendly insights - perfect for businesses that want analytics without external tracking.