10 min

Matomo PrestaShop: The Google Analytics Alternative for Your Online Store

Matomo is an open-source, privacy-friendly alternative to Google Analytics. This guide explains how to install it on PrestaShop, compares both solutions, and reveals Matomo's limitations for advanced e-commerce analytics.

Matomo PrestaShop: The Google Analytics Alternative for Your Online Store

Since the enforcement of GDPR and repeated warnings from European data protection authorities against Google Analytics, more and more PrestaShop merchants are looking for a compliant analytics solution. Matomo stands out as the most cited alternative: open source, self-hosted, and GDPR-compliant without a consent banner in certain configurations.

But is Matomo truly up to the task of running e-commerce analytics on PrestaShop? This guide covers how Matomo works, how to install it on PrestaShop, a full comparison with Google Analytics, and the limitations of both solutions for advanced e-commerce analytics.

63%of French merchants considered leaving Google Analytics after CNIL decisions in 2022

What Is Matomo?

Matomo (formerly Piwik) is an open-source web analytics platform created in 2007. It allows you to collect and analyze website traffic data without relying on third-party services. Unlike Google Analytics, Matomo can be installed directly on your own server, giving you full control over your data.

Key Advantages of Matomo

  • Open source: the code is accessible, auditable, and freely modifiable
  • Self-hosting: data stays on your server, not on a US-based third party
  • GDPR compliance: in its self-hosted configuration with IP anonymization, Matomo can operate without consent according to the French CNIL
  • No sampling: unlike GA4 on high-volume sites, Matomo processes 100% of data
  • Familiar interface: dashboard similar to Universal Analytics, simpler than GA4 for many merchants
  • Plugins and marketplace: over 100 plugins available to extend functionality

Matomo Cloud vs Matomo On-Premise

Matomo comes in two versions. The On-Premise (self-hosted) version is free but requires a server and technical maintenance. The Cloud version is hosted by Matomo and starts at 23 euros per month for 50,000 page views. For PrestaShop, the On-Premise version is the most popular as it offers full control and avoids recurring costs.

i

Matomo and GDPR

The French CNIL considers that Matomo can be used without consent if the tool is self-hosted, IP anonymization is enabled, and data is not cross-referenced with other processing. This exemption does not apply to Matomo Cloud.

How to Install Matomo on PrestaShop

Installing Matomo on PrestaShop is a two-step process: install Matomo on your server, then integrate the tracking code into your PrestaShop store.

Step 1: Install Matomo on Your Server

  • Download the latest version of Matomo from matomo.org
  • Upload the files to your server via FTP or SSH (in a dedicated subdomain like analytics.yoursite.com)
  • Create a MySQL database dedicated to Matomo
  • Run the installation wizard by accessing the Matomo URL in your browser
  • Configure IP anonymization (at least 2 bytes) for GDPR compliance
  • Create your first site in Matomo and retrieve the JavaScript tracking code

Step 2: Integrate Matomo into PrestaShop

Several methods exist to integrate the Matomo tracking code into PrestaShop. The simplest approach is to use a dedicated module.

  • Official Matomo Analytics module: available on the PrestaShop Addons marketplace, it automatically inserts the tracking code and enables e-commerce tracking
  • Google Tag Manager module: if you already use GTM, you can add Matomo as an additional tag without modifying PrestaShop code
  • Manual insertion: add the Matomo JavaScript code in the theme header.tpl file or via a PrestaShop hook (displayHeader)
T

Enable e-commerce tracking in Matomo

After installation, go to Matomo > Administration > Sites > E-commerce and enable e-commerce tracking. Without this option, Matomo will not track orders, revenue, or viewed products. The official PrestaShop module usually enables this automatically.

To get the most out of Matomo on PrestaShop, configure the following: enable internal search tracking (Site Search) by entering the PrestaShop search parameter (usually 'search_query'). Set up goals to track newsletter signups and add-to-cart actions. Finally, set up cron-based archiving to avoid slowdowns when viewing reports.

Matomo vs Google Analytics for PrestaShop

The choice between Matomo and Google Analytics depends on your priorities: regulatory compliance, budget, features, or ease of use. Here is a detailed comparison of both solutions in the context of a PrestaShop store.

CriteriaMatomo (On-Premise)Google Analytics 4
GDPR ComplianceCompliant without consent (CNIL configuration)Requires explicit consent
Data HostingOn your server (France/EU)Google servers (USA/EU)
CostFree (On-Premise) or from 23 EUR/month (Cloud)Free (standard) or paid (GA360)
Source CodeOpen source, auditableProprietary, black box
SamplingNone (100% of data)Yes, beyond 500,000 sessions
E-commerce TrackingBasic (revenue, orders, products)Advanced (funnel, promotions, lists)
Cross-domain TrackingYes, nativeYes, native
Custom ReportsYes, with segments and dimensionsYes, explorations and reports
PrestaShop IntegrationOfficial module or GTMOfficial module or GTM
DashboardsClassic interface, customizableModern interface, steep learning curve
AttributionBasic (last click)Advanced (data-driven, multi-touch)
Machine LearningNoYes (predictions, smart audiences)
MaintenanceYour responsibility (updates, server)None (managed by Google)
Community and SupportActive community, paid supportGoogle documentation, large community

Matomo excels in GDPR compliance and data control. Google Analytics 4 offers more advanced analysis features, particularly in attribution and machine learning. For a PrestaShop merchant concerned about customer privacy, Matomo is a solid choice. For a merchant focused on digital marketing and advertising audiences, GA4 remains more comprehensive.

Matomo's Limitations for E-commerce Analytics

Matomo is an excellent general-purpose web analytics tool. But when it comes to advanced e-commerce analytics, it has significant limitations that every PrestaShop merchant should know before committing.

No Margin or Profitability Calculations

Matomo tracks revenue and order count, but it does not know your purchase costs, shipping fees, fixed costs, or marketing expenses. It is therefore impossible to calculate your gross margin, net margin, or actual profit per order. You can see that you are selling, but not whether you are making money.

No Advanced Customer Segmentation

Matomo does not offer RFM segmentation (Recency, Frequency, Monetary), purchase cohort analysis, or customer Lifetime Value (LTV) calculations. You cannot identify your best customers, those about to churn, or those who never repurchased. Matomo's segmentation remains focused on browsing behavior, not purchasing behavior.

No P&L or Financial Overview

No Profit & Loss dashboard exists in Matomo. You cannot see at a glance your revenue, costs, margin, and net profit over a given period. For an e-commerce director or CFO, Matomo does not answer fundamental financial questions.

No POAS or Profit-Based Ad Optimization

Matomo does not calculate POAS (Profit on Ad Spend), which means you cannot optimize your advertising campaigns based on actual profit generated. ROAS is partially possible through integrations, but without product costs, it remains an incomplete metric.

!

The Partial Analytics Trap

Matomo and Google Analytics measure traffic and conversions, but not profitability. A product generating high revenue can be loss-making once costs are deducted. Without margin visibility, you risk investing in products or campaigns that lose money.

Significant Technical Maintenance

The self-hosted version of Matomo requires regular maintenance: security updates, database management (which can grow rapidly on high-traffic e-commerce sites), server configuration, and performance monitoring. For a small e-commerce team, this technical burden is not negligible.

Fullmetrix: Complete E-commerce Analytics for PrestaShop

Matomo and Google Analytics are web analytics tools. Fullmetrix is an e-commerce analytics tool. The difference is fundamental: where Matomo stops at traffic and conversions, Fullmetrix starts at the order and works up to profit.

What Fullmetrix Adds

  • Gross and net margin per order, product, customer, and acquisition channel
  • Complete e-commerce P&L with fixed costs, logistics, and marketing integration
  • Automatic RFM customer segmentation to identify VIPs, dormant customers, and at-risk buyers
  • Lifetime Value (LTV) and Customer Acquisition Cost (CAC) calculations
  • POAS (Profit on Ad Spend) to optimize campaigns on actual profit, not revenue
  • Real-time financial dashboards designed for e-commerce decision-makers
  • 5-minute installation via a PrestaShop module, no server configuration needed
  • Multi-store consolidation for merchants operating multiple sites
5 minutesis all it takes to connect Fullmetrix to your PrestaShop store and start seeing your margins

Fullmetrix does not replace Matomo or Google Analytics: it complements them. Use Matomo for traffic tracking and GDPR compliance, and Fullmetrix to manage your profitability. The two tools are complementary and cover the full range of needs for an ambitious PrestaShop merchant.

FeatureMatomoGoogle Analytics 4Fullmetrix
Traffic TrackingYesYesNo (not its purpose)
GDPR Compliance Without ConsentYes (On-Premise)NoYes
RevenueYesYesYes
Gross Margin per OrderNoNoYes
Net Margin and P&LNoNoYes
RFM SegmentationNoNoYes
Lifetime Value (LTV)NoPartialYes
POASNoNoYes
Multi-storePartialYesYes
PrestaShop InstallationModule + serverModuleModule (5 min)

FAQ: Matomo and PrestaShop

Is Matomo really free for PrestaShop?

The On-Premise version of Matomo is free to download and use. However, you need to factor in server hosting costs (typically 5 to 30 euros per month depending on traffic), maintenance time, and potentially premium plugin costs from the Matomo marketplace. The Matomo Cloud version starts at 23 euros per month.

Can you use Matomo and Google Analytics simultaneously on PrestaShop?

Yes, both tools can coexist without issues. Each inserts its own JavaScript tracking code. The only consideration is to verify that the combined scripts do not significantly impact your store's loading performance. Many merchants use Matomo for GDPR compliance and GA4 for advanced features.

Does Matomo slow down my PrestaShop store?

The Matomo tracking script is lightweight (approximately 22 KB) and loads asynchronously. The impact on your store's performance is minimal and comparable to Google Analytics. However, the server hosting Matomo must be properly sized to process data, especially if your store generates more than 100,000 page views per month.

How to migrate from Google Analytics to Matomo on PrestaShop?

Matomo offers an import plugin that allows you to retrieve historical data from Google Analytics. First install Matomo alongside GA4, verify that data matches for a few weeks, then disable the Google Analytics module if you wish to migrate completely. Note that historical data import can be time-consuming and some GA4 metrics do not have exact equivalents in Matomo.


Matomo is an excellent alternative to Google Analytics for PrestaShop merchants concerned about GDPR compliance and data control. But to manage your e-commerce profitability, neither Matomo nor GA4 is sufficient. Fullmetrix complements these tools by providing the missing financial view: margins, P&L, customer segmentation, and profit-based optimization.

Mezri
MezriFounder of Fullmetrix

Founder of Fullmetrix. E-commerce acquisition and analytics expert, I help merchants turn their data into profitable decisions.

LinkedIn

Turn this insight into measurable revenue

Fullmetrix unifies your e-commerce stack to track profit, LTV, cohorts and ad ROI on PrestaShop, WooCommerce and Shopify.

Continue reading

Stop flying blind.

Connect your PrestaShop, WooCommerce or Shopify store in 5 minutes. Your first segments, WhatsApp automations and reports run themselves.

Free 30-day trial, no credit card required.