Matomo Analytics - Matomo Tracking and Ecommerce Tracking for the Odoo Website
by Modvanta https://modvantaapps.tech/odoo-apps/matomo-analytics/$ 28.92
Matomo Analytics for the Odoo 19 Website and Shop
Put Matomo on your Odoo website in two fields: Matomo URL and Site ID. Visits, site searches, 404 pages, product views, cart updates and orders with revenue go to your own Matomo (self-hosted or Matomo Cloud), with cookieless or consent-based tracking that follows the Odoo cookies bar.
Matomo tracking codeEcommerce trackingCookieless modeConsent with cookies barSite search404 trackingUser IDDashboard in OdooMulti-website33 automated tests | 6 kinds of events tracked | 4 privacy modes | 2 fields to start tracking |
What it does
The module adds the Matomo tracking code to every page of the website, per website, and keeps it off the page while you edit it. The configuration is written as data and read by a small loader, so the Matomo commands always run in the right order: settings, consent, ecommerce view, then the page view.
In the shop it sends what Matomo Ecommerce needs: the product SKU, name, category and price on product pages, the category on category pages, the full cart every time it changes (add to cart, quantity changes), and the order on the confirmation page with revenue, subtotal, tax, shipping and lines. Searches on the shop are sent as Matomo site searches with the number of results.
Privacy is a setting: normal cookies, no cookies at all, no cookies until the visitor accepts the Odoo cookies bar, or no tracking at all until then. Do Not Track is respected if you want, employees can be excluded, and the logged-in user can be sent as Matomo User ID.
Who it is for
Shops that want their own analytics Keep visitor data on your own Matomo instead of an advertising platform. | EU and privacy-minded sites Cookieless tracking or tracking only after cookie consent. | Marketing and ecommerce managers Revenue, conversion rate, sources and top pages without leaving Odoo. |
Key Features
Screenshots from an Odoo 19 test database. The reports are live data from the public Matomo demo (demo.matomo.cloud), which anyone can read with the token "anonymous".
| 1Two fields to start |
| Matomo URL and Site ID per website, an optional tracker script address for Matomo Cloud and a cookie domain for sub-domains. |
Website settings -> Matomo Analytics |
| 2Privacy, ecommerce and what to track |
| Choose the consent mode, Do Not Track, ecommerce tracking, site search, 404 pages, employees, heartbeat timer and User ID. |
![]() Consent and tracking options |
| 3Matomo report inside Odoo |
| Visits, actions, bounce rate, time on site, ecommerce revenue, orders and conversion rate, traffic sources, countries and top pages, for today up to this year. |
![]() Website -> Reporting -> Matomo Analytics |
| 4Your Matomo dashboard embedded |
| Optionally show the full Matomo dashboard (Widgetize) under the report. |
![]() Embedded Matomo dashboard |
Everything included
| Matomo tracking code on every website page | Consent with the Odoo cookies bar |
| Self-hosted Matomo or Matomo Cloud | Respect Do Not Track |
| One Matomo site per Odoo website | Exclude logged-in employees |
| Product views with SKU, name, category, price | User ID: Odoo user id or login |
| Category page views | Heartbeat timer for time on page |
| Cart updates with all items and total | Cookie domain for sub-domains |
| Orders with revenue, tax, shipping, discount | Report in Odoo with KPIs and top lists |
| Shop search as Matomo site search with result count | Embedded Matomo dashboard (optional) |
| 404 pages with the broken URL and referrer | token_auth sent in the request body, never to visitors |
| Cookieless tracking |
How it works
1 Install Install the module on a database with the Website and eCommerce apps. | 2 Connect Website -> Configuration -> Settings -> Matomo Analytics: tick Matomo Tracking, enter URL and Site ID. | 3 Choose privacy Pick cookies, cookieless or consent mode; turn on ecommerce tracking. | 4 Read the reports In Matomo, or in Odoo under Website -> Reporting -> Matomo Analytics with a token_auth. |
Settings
| Matomo URL / Site ID | Address of your Matomo and the id of the website created in it. |
| Tracker Script | Optional address of matomo.js, e.g. the CDN address of Matomo Cloud. |
| Cookie Domain | Optional, e.g. *.example.com to count sub-domains as one site. |
| Privacy / Consent | Cookies, cookieless, no cookies until consent, or no tracking until consent. |
| Respect Do Not Track | Do not track browsers that send Do Not Track. |
| Ecommerce Tracking | Product and category views, cart updates and orders. |
| Site Search / 404 Pages / Track Employees | Switch each of them on or off. |
| Heartbeat / User ID | Seconds between heartbeat pings; send no user, the user id or the login. |
| token_auth / Embed Dashboard | Token for the reports in Odoo and the optional embedded Matomo dashboard. |
FAQ
Compatibility
Depends on the core module website_sale (eCommerce). No extra Python packages.
EMAIL |
AUTHOR Modvanta |
INCLUDED Module, updates for Odoo 19, email support |
Support: modvantaapps@gmail.com - questions before buying are welcome.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 719 |
| Technical Name |
mdv_matomo_analytics |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/matomo-analytics/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



Please log in to comment on this module