The Matomo Analytics module for PrestaShop allows you to integrate Matomo into your e-commerce store to monitor visits, user behavior, carts, orders and e-commerce data, with an approach focused on data ownership, privacy and independent analytics management.
Matomo is a web analytics platform alternative to Google Analytics, available both as a Cloud service and as an On-Premise installation. With this module, you can connect your PrestaShop store to your Matomo instance by entering the Matomo server URL and the related Site ID, in order to collect useful data on website performance, sales and customer navigation paths.
Matomo Analytics Module for PrestaShop
The module is designed for merchants, agencies and developers who need a more controllable analytics solution, integrated into the PrestaShop workflow and suitable for measuring e-commerce activity. Once configured, it can send the main tracking information from the store to Matomo, including product views, cart updates, orders and revenue.
Compared to manually inserting the tracking code, the module provides a more structured integration, with dedicated options for consent management, privacy mode, e-commerce tracking and statistics that can also be viewed from the PrestaShop back office through the Matomo API token.
Main Features
- Matomo integration for PrestaShop: connects your store to a Matomo Cloud or On-Premise instance using the Matomo URL and Site ID.
- E-commerce tracking: tracks product views, cart updates, orders and revenue.
- Back-office statistics: with the Matomo API Token configured, the module can display KPIs and e-commerce data directly in the PrestaShop administration area.
- Dedicated statistics page: includes date ranges, quick presets, top countries, relevant products, categories and export options.
- Product widget: displays Matomo metrics related to products, such as revenue, orders, purchased quantities and associated SKUs.
- Privacy mode: supports configurations such as cookieless tracking, cookie consent required and default mode without additional privacy restrictions.
- Cookie banner integration: compatible with several consent management systems, including LG Cookies Law, Art Cookie Choices Pro, iubenda, Cookiebot and CookieYes.
- Noscript support: includes the option to use a tracking pixel for users with JavaScript disabled.
- Heartbeat timer: improves the accuracy of time-on-page measurement.
- Advanced options: supports secure HTTPS cookies, subdomain tracking, cross-domain linking and custom campaign parameters.
Why Use Matomo on a PrestaShop Store
For an online store, analytics are not only useful for counting visits. They help understand which channels generate qualified traffic, which products attract the most interest, which categories produce value and which paths lead to conversion. Matomo makes it possible to analyze this data while maintaining greater control over the infrastructure and the information collected.
Matomo is particularly interesting for companies that want to reduce dependency on external platforms, manage analytics data internally and adopt a more transparent solution from a privacy perspective. The module simplifies the technical integration with PrestaShop and makes e-commerce data easier to access directly from the back office.
Advanced E-commerce Tracking
The module does not only track visited pages. The e-commerce tracking function allows Matomo to receive more relevant information for an online store, such as product views, cart changes, completed orders and generated revenue.
This data helps evaluate the real performance of the catalog, marketing campaigns, categories and purchase paths. For a PrestaShop merchant, this means being able to analyze not only how much traffic reaches the website, but also which visits generate commercial value.
Matomo Statistics in the PrestaShop Back Office
By configuring the Matomo API token, the module can display analytics data directly inside the PrestaShop back office. This feature is useful for quickly reading performance data without accessing the external Matomo dashboard every time.
The dedicated statistics page can include e-commerce KPIs, visits, revenue by channel, top countries by revenue, best-performing products, relevant categories and data export in CSV, JSON and XML formats. Date presets and manual date selection make the analysis more practical for comparing periods, campaigns and commercial results.
Privacy, Consent and Data Control
One of Matomo’s main advantages is the possibility to adopt a more controlled approach to analytics data collection. The module supports different privacy modes, including cookieless tracking and cookie consent required before enabling tracking cookies.
Regulatory compliance does not depend on the module alone, but on the overall website configuration, privacy policy, consent management and the settings adopted in the Matomo instance. The module provides useful technical tools to integrate Matomo more consistently with the privacy needs of an e-commerce website, but the final configuration must be assessed according to the specific website context.
Cookie Banner Integration
The module can connect Matomo consent to several cookie consent systems already installed on the website. When the selected privacy mode requires consent, cookie-based tracking can be activated according to the preference expressed by the user through the configured cookie banner.
- LG Cookies Law: uses the analytics purpose ID configured in the module.
- Art Cookie Choices Pro: reads analytics or performance consent preferences exposed by the banner.
- iubenda: can read preferences through the iubenda API and a configurable analytics purpose ID.
- Cookiebot: uses statistics consent and banner consent events.
- CookieYes: reads the analytics category exposed by the consent system.
Module Requirements
| Platform | PrestaShop 1.7.5 or later versions |
|---|---|
| Matomo instance | Matomo Cloud or Matomo On-Premise |
| Required data | Matomo instance URL and Site ID |
| Back-office statistics | Require a configured Matomo API Token |
| E-commerce tracking | Product views, cart updates, orders and revenue |
| Privacy modes | No additional privacy mode, cookieless, cookie consent required |
Installation and Configuration
- Install the module from the PrestaShop back office through Modules > Module Manager > Upload a module.
- Open the Matomo Analytics module configuration page.
- Enable tracking.
- Enter the URL of your Matomo instance.
- Enter the Site ID of the website configured in Matomo.
- Enable e-commerce tracking if required.
- Configure the privacy options according to the website cookie consent setup.
- Enter the Matomo API Token, if needed, to enable statistics, widgets and reports in the PrestaShop back office.
- Save the configuration and check in Matomo that visits and e-commerce events are being received correctly.
When It Is Recommended
The module is recommended for PrestaShop stores that want to monitor website performance with an analytics platform alternative to Google Analytics, maintain greater control over data, integrate e-commerce tracking and make statistics available from the back office.
It is particularly useful for agencies, developers and merchants who manage websites with a strong focus on privacy, data quality and commercial performance analysis. It does not replace a proper legal and privacy configuration of the website, but it provides a more structured technical base for integrating Matomo into PrestaShop.
Matomo, AI Assistant and Advanced Tracking
Recent versions of Matomo can classify some traffic sources coming from artificial intelligence tools, such as AI assistants and chatbots, when this information is available in Matomo data. The module can display this information on the statistics page if it is present in the data returned by the Matomo API.
Server-side chatbot AI tracking is not configured automatically by the module. When specific analysis of traffic generated by chatbots, AI assistants or server-side integrations is required, the Matomo documentation should be followed and the environment should be configured accordingly.
Operational Benefits
Data control
Matomo allows more independent management of analytics data, especially in On-Premise environments or privacy-first configurations.
E-commerce data
The module tracks essential information for an online store, such as products, carts, orders and revenue.
Integrated back office
With the Matomo API token configured, statistics can also be viewed directly from the PrestaShop administration area.
FAQ about Matomo and the PrestaShop Module
What is Matomo?
Matomo is a web analytics platform used to monitor traffic, user behavior, conversions, campaigns and e-commerce data. It can be used as a Cloud service or installed on your own server in On-Premise mode.
Is Matomo an alternative to Google Analytics?
Yes, Matomo is often chosen as an alternative to Google Analytics, especially by those who want greater control over data, more transparent privacy management and the option to use a solution installed on their own infrastructure.
Does the module replace Google Analytics?
The module allows you to integrate Matomo into PrestaShop and can be used as an alternative to Google Analytics. The actual replacement depends on the website configuration, measurement goals and tools already installed on the e-commerce store.
Do I need a Matomo account to use the module?
Yes, to use the module you need an already configured Matomo Cloud or Matomo On-Premise instance. During configuration, you must enter the Matomo instance URL and the Site ID of the website to be tracked.
Does the module work with Matomo On-Premise?
Yes, the module can be used with Matomo On-Premise, installed on your own server, or with Matomo Cloud. In both cases, the instance URL and Site ID are required.
Does the module also track PrestaShop orders?
Yes, the module supports e-commerce tracking and can send information to Matomo about product views, cart updates, orders and revenue.
Can I view statistics directly in the PrestaShop back office?
Yes, by configuring the Matomo API Token, you can view e-commerce data, visits, revenue, products, categories and other reports directly in the PrestaShop back office.
Is the Matomo API Token mandatory?
No, the API Token is not mandatory for basic tracking. However, it is required if you want to display dashboards, statistics, product widgets and exports directly in the PrestaShop back office.
Is the module GDPR compliant?
The module includes features useful for a privacy-oriented configuration, such as cookieless mode, cookie consent and integration with selected cookie banners. However, the GDPR compliance of the website depends on the entire technical, legal and documentary configuration: privacy policy, cookie policy, consent, Matomo settings and actual data processing.
Can Matomo work without cookies?
Yes, Matomo can be configured in cookieless mode. The module includes a dedicated privacy mode that allows tracking cookies to be disabled according to the website’s needs.
Does the module integrate with iubenda?
Yes, the module includes integration with iubenda and can read consent preferences through the APIs exposed by the system, with a configurable analytics purpose ID.
Does the module integrate with Cookiebot?
Yes, the module supports Cookiebot and can use statistics consent to manage Matomo cookie consent activation.
Does the module integrate with CookieYes?
Yes, the module supports CookieYes and can read the analytics category exposed by the consent banner.
Does the module integrate with LG Cookies Law?
Yes, the module supports LG Cookies Law and uses the analytics purpose ID configured in the module settings.
Does the module integrate with Art Cookie Choices Pro?
Yes, the module can read analytics or performance consent preferences exposed by the Art Cookie Choices Pro banner.
Does the module support tracking users without JavaScript?
Yes, the module also supports the noscript pixel, useful for recording a form of tracking when JavaScript is disabled in the user’s browser.
What is the heartbeat timer?
The heartbeat timer is a feature that helps improve the measurement of the time spent by the user on the page, making the time-on-page data more accurate.
Does the module support multiple domains or subdomains?
Yes, the advanced options include subdomain tracking and cross-domain linking, useful for configurations with multiple domains or distributed navigation paths.
Can I export the data?
Yes, the back-office statistics page supports data export in CSV, JSON and XML formats, depending on the selected dataset.
Does the module automatically configure Matomo AI Chatbot tracking?
No, the module can display data related to the AI Assistant channel when available in Matomo data, but it does not automatically configure server-side AI chatbot tracking. For this need, the specific configuration provided by Matomo must be followed.
Is the module suitable for a professional PrestaShop store?
Yes, the module is suitable for PrestaShop stores that need a more controllable analytics solution, with e-commerce tracking, privacy-oriented options and data consultation directly from the back office.
Conclusion
Matomo Analytics for PrestaShop is a useful solution for integrating an advanced analytics platform into your online store, with dedicated features for e-commerce tracking, privacy management and data consultation in the back office. It is suitable for those who want to analyze their website performance more independently, while maintaining greater control over data and tracking configurations.