Matomo Hosting: A UK Guide to Self-Hosting Your Analytics

Matomo Hosting: A UK Guide to Self-Hosting Your Analytics

Short answer: Matomo runs well on ordinary shared hosting for most small and medium sites. You need PHP 8, a MySQL or MariaDB database, enough PHP memory and, for busier sites, the ability to run a scheduled task (cron) to build reports. On Switchweb, all of that is included on every plan from £39 a year, on UK servers.

Matomo (formerly Piwik) is a self-hosted, privacy-focused alternative to Google Analytics. Because it runs on your own hosting, your visitor data stays on servers you control rather than being sent to a third party. If you are still deciding whether to switch, see our comparison of Matomo vs Google Analytics.

What Matomo offers

  • Full data ownership: visitor data is stored in your own database, on your own hosting.
  • Goals and ecommerce tracking: measure enquiries, sign-ups and sales alongside standard traffic reports.
  • Cookieless tracking option: Matomo can be configured to track without cookies, which may reduce what you need visitor consent for. Check the current ICO guidance for your own setup.
  • Extra features through plugins: heatmaps, session recordings and A/B testing are available as premium Matomo plugins.

What Matomo needs from hosting

Requirement Why it matters On Switchweb
PHP 8 Current Matomo releases need a supported PHP version Switch PHP version per site from the control panel
MySQL or MariaDB All tracking data and reports are stored in the database Included on every plan
Scheduled tasks (cron) Builds reports in the background instead of when you open the dashboard Included on every plan
SSH access Lets you run Matomo’s console commands and updates Included on every plan
Free SSL Tracking requests and logins should run over HTTPS Included
Daily backups Your analytics history lives in one database Daily, kept for 30 days

Setting up report archiving with cron

By default, Matomo processes your reports when someone opens the dashboard. That is fine for a low-traffic site, but on a busier one it makes the dashboard slow. Matomo’s recommended setup is to switch off browser-triggered archiving in its settings and run its archiving command on a schedule instead, typically every hour. You can add this as a scheduled task in your hosting control panel.

How much hosting does Matomo need?

  • Small sites (a few thousand visits a month): an entry-level shared plan is plenty.
  • Growing sites: the database grows with every visit, so choose a plan with room for storage and turn on cron archiving.
  • Very high traffic or many tracked sites: consider a VPS, or tracking one Matomo install from a separate account so analytics load does not slow your main website.

Matomo’s settings also let you delete old raw visit data after a set period while keeping your reports, which keeps the database size under control.

FAQs about hosting Matomo

Can I install Matomo on shared hosting?

Yes. Matomo is a PHP application with a MySQL or MariaDB database, which is exactly what standard shared hosting provides. Most small and medium sites run it comfortably on a shared plan.

How does Matomo compare to Open Web Analytics?

Both are self-hosted, privacy-focused alternatives to Google Analytics. Matomo has the larger feature set and more active development; Open Web Analytics is a lighter-weight option if you want simpler self-hosted analytics.

Why choose Matomo over Google Analytics?

Data ownership and privacy are the main reasons. Matomo keeps visitor data on your own server rather than sending it to a third party, which simplifies UK GDPR considerations and avoids the data-sharing concerns some organisations have with Google Analytics.

Does Matomo need more resources than a typical WordPress site?

Usually, yes. It writes data on every page view and processes reports regularly, so database performance, PHP memory and storage matter more than they would for a simple brochure site.

Should I host Matomo on the same account as my website?

For most small sites, yes, and it is the simplest setup. If your site is busy, or you track several websites from one Matomo install, hosting Matomo separately stops analytics processing from competing with your live site.

Getting started

Switchweb provides UK-based hosting with PHP version switching, SSH, cron, free SSL and daily backups on every plan from £39 a year, and you can try it free for 7 days. View our web hosting plans to get started.


Looking to get started on Switchweb? Take a look at our website hosting plans or message us about a free trial.


Pete White

Pete White has worked in the UK web hosting industry for over 20 years, supporting businesses, charities, grassroots campaigns, and non-profit organizations to launch their digital presence with secure, high-performance hosting.

3 Comments

  • Allison Byrd
    14 May 2024

    Interesting take on Matomo analytics. But how does it stand against giants like Google Analytics in terms of data privacy? Are we trading convenience for security here? Worth pondering.

    • Wade Golden
      15 May 2024

      Matomo triumphs with user-centric privacy. Google Analytics? More like data-hungry vultures!

  • Naomi Piñeda
    15 May 2024

    This article nails it! But Im curious, how does Matomo handle data privacy? Is it GDPR compliant? Also, how does it stack up against Google Analytics in terms of insights and ease of use?

Post Your Comment

SWITCHWEB BLACK FRIDAY: 20% OFF

Ends 30 November 2026

20% Off Your First Year

Use code BLACKFRIDAY at checkout for 20% off the first year of any new hosting package. UK servers, daily backups and email included.

SWITCHWEB 7 DAY FREE TRIAL

— No Credit Card Required—

7 Day Free Trial
Not ready to commit just yet? That is completely fine. We are confident that once you try Switchweb, you will not want to leave.