Skip to content
Matomo
  • Matomo
  • Why Matomo?
    • 100% Data Ownership
    • Privacy Protection
    • Product Features
    • Open Source
    • Flexibility
    • No Data Sampling
    • GDPR
    • Google Analytics Alternative
    • List of all features
  • Use Cases
    • Complete Analytics
    • Intranet Analytics
    • Consent-Free Tracking
    • Tracking Personal Data
    • Marketing Attribution
    • No Limitations
    • Log Analytics
    • Integrations
    • Case Studies
  • Cloud
  • On-Premise
    • Matomo On-Premise
    • On-Premise vs Cloud
    • Download for free
    • Marketplace
    • Support Plans
  • Pricing
    • Pricing
    • Contact Sales
  • Resources
    • Help Centre
    • Blog
    • Subscribe to our Newsletter
    • Ebooks
    • Masterclasses
    • Contact the Matomo team
    • Get involved
  • English
    English Français
    Log inHelpTRY IT FOR FREE
Feedback sent successfully Thank you for your valuable feedback. We will use it to make matomo.org even better.
  • Home
  • Help

How to

Index

  1. As a developer, how do I log activities done within my custom plugin?
  2. Block spam and bot traffic with Tracking Spam Prevention
      1. Configure Tracking Spam Prevention Settings
        1. Block tracking requests from the cloud
        2. Block headless browsers
        3. Block tracking requests from server-side libraries
        4. Max actions to record per visit
        5. Exclude Countries
        6. Only track visitors from specific countries
      2. Test the Tracking Spam Prevention Settings
  3. Can the Activity Log data be exported?
  4. Configure the Matomo MCP Server
      1. What is the Matomo MCP Server?
        1. How the MCP Server works
      2. Security considerations
        1. What is prompt injection?
        2. Risk Levels Depending on Configuration
      3. Security recommendations
      4. Privacy and regulatory
        1. Controller
        2. Processor
        3. Independent controller /processor
      5. Privacy assessment
        1. 1. Legal basis for processing
        2. 2. Personal data exposure (Data minimisation)
        3. 3. Transparency and accountability requirements
        4. 4. Data protection impact assessment (DPIA)
        5. 5. AI provider agreements
        6. 6. Data transfers outside the EEA
        7. 7. EU AI Act considerations
      6. Privacy Recommendations
        1. 1. Disable MCP by default
        2. 2. Use granular permissions
        3. 3. Minimise data set
        4. 4. Confidentiality and business risks
      7. Install the Matomo MCP Server plugin
      8. Data access authentication
        1. Limitations when using OAuth 2.0 with the MCP plugin:
        2. Generate a Matomo API token
        3. Setup an OAuth client
      9. Next steps
      10. Ways to use the Matomo MCP
        1. Analytics exploration
        2. Report interpretation
        3. Data analysis assistance
        4. Technical assistance for analytics teams
  5. Do I get access to the raw data that was tracked?
  6. Format CSS Class Selectors for Matomo Tracking
      1. Examples of correctly formatted CSS Selectors
      2. How to find the CSS selector for an element on the page?
  7. How can I export the Activity Log UI to embed somewhere else?
  8. How do I access the Activity Log?
  9. How do I check in real-time whether my goal conversions are triggered correctly on my website?
  10. How do I configure a config setting in the config.ini.php differently for a specific site?
  11. How do I enable Content Tracking via Matomo Tag Manager?
  12. How do I enable Gravatar images in the Activity Log?
  13. How do I get a list of products left in the cart?
  14. How do I install the Matomo tracking code in Tag Rocket for BigCommerce
      1. Requirements
      2. Install and configure the Tag Rocket App
        1. Enable Tag Rocket API events
        2. Add the Matomo tracking script
        3. Customise the Matomo tracking script
      3. Validate the configuration
  15. How do I install the Matomo tracking code on an HTML website?
      1. Requirements
      2. Install with Matomo Tag Manager
        1. Find the Tag Manager tracking code
      3. Install using the Matomo JavaScript code
        1. Find the Javascript tracking code
      4. Embed the Matomo tracking code in the website pages
      5. Validate the Integration Configuration
      6. Troubleshooting
      7. Next steps 
  16. How do I install the Matomo tracking code on Backdrop CMS?
      1. Requirements
      2. Install the Matomo module
      3. Configure Matomo tracking
      4. Validate the configuration
      5. Troubleshooting
      6. Next steps
  17. How do I make Matomo faster?
  18. How do I markup content for content tracking?
      1. HTML Data Tags (Takes Precedence)
      2. CSS Tags
        1. More Markup Examples
  19. How do I use Extractions to track action data with Custom Dimensions?
      1. How to Set Up Extractions for Custom Dimension Data
        1. How Matomo extracts the value using RegEx
      2. Page URL Extraction Example
      3. Page Title Extraction Example
      4. Page Parameter Extraction Example
      5. More Resources
  20. How do I use Matomo tracking on a website with caching (e.g. Akamai)?
      1. How to capture the cache status of a page using a Custom Dimension
  21. How do OAuth 2.0 tokens work in Matomo?
      1. OAuth 2.0 token behaviour and permissions
      2. Technical integration and implementation
  22. How do you configure and secure OAuth 2.0 in Matomo?
      1. Configuring OAuth 2.0 in Matomo
      2. Security considerations and edge cases
  23. How long will the Activity Log data be stored?
  24. How to create segments to include or exclude staff traffic based on complex IP address ranges?
      1. Before you start
      2. Create a Custom Visit Dimension
      3. Add the Custom Dimension to Matomo tracking
        1. Matomo JavaScript tracking code
        2. Matomo Tag Manager
      4. Create a Segment for Staff traffic
      5. Create a Segment for non-Staff traffic
  25. How to disable archiving the segment reports for specific plugins?
  26. How to display Coupon or Discount Codes in Matomo
      1. Use a Visit-scope Custom Dimension
      2. Use an Action-scope Custom Dimension
      3. Create a Custom Report
  27. How to enforce strong passwords for all users in Matomo
      1. What counts as a strong password?
      2. Enable setting for strong password enforcement
  28. How to find and edit “config.ini.php”: The Matomo configuration file
      1. Matomo Cloud
      2. Matomo On-Premise
      3. Matomo for WordPress
  29. How to identify Paid vs Organic traffic in Matomo
      1. What is Organic traffic?
      2. What is Paid traffic?
      3. Where to find traffic source information
      4. Option 1: Track Paid Campaigns
      5. Option 2: Use Segments to isolate or compare traffic types
      6. Option 3: Create Custom Dimensions for enhanced visibility
        1. Use the Matomo JavaScript Tracking Code
        2. Use Matomo Tag Manager
          1. 1. Create a Variable
          2. 2. Create a Pageview Trigger
          3. 3. Configure the Matomo Analytics Tag
          4. 4. Publish the Tag Manager container
        3. Related Topics
  30. How to import Matomo data into Microsoft Power BI Desktop
  31. How to import Matomo data into Qlik Sense
      1. Before you start
      2. Create a data connection
        1. Use the REST connector
        2. Import files to create datasets
      3. Create a Qlik Sense Analytics app
        1. Add data from the Data catalog
        2. Add data from Files and other sources
      4. Add data using the Data load editor
      5. Visualise and analyse Matomo data in Qlik
      6. Publish and bookmark your app
  32. How to import Matomo data into Tableau
      1. 1. Connect Matomo data to Tableau
        1. File-based imports (Cloud and On-Premise)
        2. Connect Tableau directly to the database (On-Premise)
        3. Connect Tableau to a data warehouse platform (Cloud)
      2. 2. Create the data source in Tableau
        1. Tableau Cloud
        2. Tableau Desktop
      3. 3. Build the visualisation with Matomo data
        1. Create an extract
        2. Create the visualisation
        3. Tableau Worksheets
          1. Dual axis (single combined chart)
          2. Dashboard with separate worksheets
      4. 4. Publish and share the Tableau visualisation
        1. Tableau Cloud
        2. Tableau Desktop
      5. Next steps
  33. How to integrate CookieScript CMP with Matomo
      1. Before you start
      2. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Validate the Integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the Integration
      4. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo cookie consent handling script
        3. Validate the Integration
  34. How to integrate CookieScript CMP with Matomo Tag Manager
      1. Before you start
      2. Add a Custom HTML tag to initialise the CMP
      3. Method 1: Consent-based Tracking
        1. Update the Matomo Configuration Variable
        2. Create a Custom HTML Tag
        3. Validate the Integration
      4. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Configure Matomo Tag Manager
        3. Validate the Integration
      5. Method 3: Adaptive Tracking
        1. Update the Matomo Configuration Variable
          1. Create a Custom HTML Tag
        2. Validate the Integration
  35. How to integrate Didomi CMP with Matomo
      1. Before you start
      2. Configure Didomi consent manager
      3. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Validate the integration
      4. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the integration
      5. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo cookie consent handling script
        3. Validate the integration
      6. Troubleshooting
        1. 1. Load order matters
        2. 2. Check the Matomo tracking code
        3. 3. Confirm correct Vendor and Purpose ID
        4. 4. Review security policy
  36. How to integrate GetTerms CMP with Matomo
      1. Before you start
      2. Install GetTerms consent manager
        1. Note about consent categories in GetTerms
      3. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Test the integration
      4. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Test the integration
  37. How to integrate GetTerms CMP with Matomo Tag Manager
      1. Before you start
      2. Install GetTerms consent manager
        1. Note about consent categories in GetTerms
      3. Method 1: Consent-based Tracking
        1. Tag Manager components
        2. Update the Matomo Configuration Variable
        3. Create a Custom HTML Tag (consent handling)
        4. Test the integration
      4. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Configure Matomo Tag Manager
        3. Test the integration
  38. How to integrate Klaro Open Source CMP with Matomo
      1. Before you start
      2. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Modify the Klaro config.js file
        3. Validate the integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the integration
      4. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Modify the Klaro config.js file
        3. Validate the integration
  39. How to integrate OneTrust CMP with Matomo
      1. Before you start
      2. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Validate the integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the integration
      4. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo cookie consent handling script
        3. Validate the integration
  40. How to integrate Usercentrics CMP with Matomo
      1. Before you start
      2. Method 1: Consent-based Tracking
      3. Install and modify the Matomo tracking code
        1. Install the Matomo consent handling script
        2. Validate the Integration
      4. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the Integration
      5. Method 3: Adaptive Tracking
      6. Install and modify the Matomo tracking code
        1. Install the Matomo cookie consent handling script
        2. Validate the Integration
  41. How to integrate Usercentrics CMP with Matomo Tag Manager
      1. Before you start
      2. Method 1: Consent-based Tracking
        1. Update the Matomo Configuration Variable
        2. Create a Custom HTML Tag
        3. Validate the Integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Configure Matomo Tag Manager
        3. Validate the Integration
      4. Method 3: Adaptive Tracking
        1. Update the Matomo Configuration Variable
        2. Create a Custom HTML Tag
        3. Validate the Integration
  42. How to randomise the visitor config_id for privacy
      1. How to apply the config_id randomisation setting in the UI
      2. How does config_id randomisation affect analytics data?
        1. Setting enabled:
        2. Setting disabled:
      3. How does config_id randomisation affect performance?
      4. Why is this feature available?
  43. How to search for Page URLs with parameters
  44. How to secure user accounts with allowed email domains and inactivity reports
      1. Restrict user accounts by allowed email domains
      2. Enable monthly alerts for inactive users
  45. How to set up dual tracking with Matomo and Piwik PRO
      1. How dual tracking works
      2. Before you start
      3. Option 1: Add the Piwik PRO tracking code to Matomo Tag Manager
        1. Create the Custom HTML tag
        2. Track custom events and goals
        3. Test the Matomo Tag Manager setup
      4. Option 2: Modify and use both Matomo and Piwik PRO tracking codes
        1. Test the dual tracking setup
      5. Implement consent management
        1. Test consent behaviour
  46. How to track Adobe Campaign URLs in Matomo
      1. Configure Matomo Tag Manager
        1. Create a Custom JavaScript variable
        2. Set up a Pageview trigger with conditions
        3. Set up the Matomo Analytics tag
      2. Configure the Matomo JavaScript tracker
      3. Test the configuration
      4. Troubleshooting
        1. The correct campaign values are not showing
        2. The browser still shows the original cid URL
      5. Next steps
  47. How to track Mailchimp email clicks in Matomo using UTM parameters
      1. Before you start
      2. Set up the Mailchimp email campaign
      3. Next steps
  48. How to write a GDPR-compliant Privacy Notice
      1. Background
      2. Key Principles of a GDPR Privacy Notice
      3. What to include in a GDPR-compliant Privacy Notice
        1. 1. Identity and Contact Details of the Data Controller
        2. 2. Types of Personal Data Collected
        3. 3. Purpose and Legal Basis for Processing
        4. 4. Data Sharing & Third-Party Recipients
        5. 5. How Long Data is Retained
        6. 6. Data Transfers
        7. 7. Data Subject Rights
        8. 8. Automated Decision-Making & Profiling (if applicable)
        9. 9. Contact Information & Complaints
  49. Integrate Consent Managers (CMP) with the Matomo Image tracker
      1. Consent for Pixel tracking
      2. Before you start
      3. Method 1: Consent-based Tracking
        1. Install and modify the Image tracker code
          1. Modifying the Image tracker code
        2. Validate the Integration
      4. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the Integration
  50. Integrate the MCP Server with ChatGPT
      1. Before you start
      2. Create a ChatGPT app (connector)
      3. Enable the Matomo app for your organisation
      4. Important limitations and maintenance notes
  51. Integrate the MCP Server with Claude Code
      1. Before you start
      2. Claude CLI
      3. Claude configuration file
  52. Integrate the MCP Server with OpenAI Codex
      1. Before you start
      2. Configure Codex
      3. Using Codex CLI
  53. Migrate from Google Analytics 3 (Universal Analytics) to Matomo: Configure tracking
      1. Getting started
      2. Site creation
      3. Tracking code setup
      4. Custom Dimensions setup
      5. Events setup
      6. Ecommerce tracking setup
      7. Finishing up
  54. Migrate from Google Analytics 4 to Matomo: Configure tracking
      1. Getting started
      2. Site creation
      3. Tracking code setup
      4. Custom Dimensions setup
      5. Events setup
      6. Ecommerce tracking setup
      7. Conversions and goals
      8. Finishing up
  55. Set up AI Chatbot tracking with Cloudflare or Amazon CloudFront
      1. How AI chatbot telemetry works in Matomo
        1. Supported AI chatbots and detection rules
      2. Set up AI Chatbot tracking
        1. Install with Cloudflare
          1. What the integration does
        2. Install with Amazon CloudFront
          1. What the integration does
      3. Verify tracking is enabled
      4. Data retention
      5. Filtering and exclusions
      6. When to use the HTTP Tracking API directly
  56. Set up AI Chatbot tracking with WordPress
      1. How AI chatbot telemetry works in Matomo
        1. Supported AI chatbots and detection rules
      2. Before you setup tracking
      3. Set up AI Chatbot tracking
      4. Verify tracking is enabled
      5. Data retention
      6. Other set up methods
  57. Set up OAuth 2.0 authentication for the Matomo API
      1. How the OAuth 2.0 process works
        1. Permission scopes in OAuth 2.0
      2. Manage OAuth 2.0 settings
      3. How to configure OAuth 2.0 in Matomo
        1. Create the client (application)
        2. Client Credentials flow (server-to-server)
      4. Manage OAuth clients
        1. Pause/resume OAuth 2.0 client
  58. What does Activity Log do?
  59. Which events / activities are being tracked in the Activity Log?
  60. Who develops and maintains the Activity Log plugin?
  61. Who has access to the Activity Log?
  62. Why is it important to keep an eye on user activities in Matomo?
  63. How do I exclude traffic from an IP or a range of IP addresses?
  64. How do I exclude URL query parameters from the URLs tracked, and from Pages reports?
  65. How do I export the Raw data from Matomo (users, actions, clicks)?
  66. How do I set the time zone for my reports?
        1. Matomo for WordPress
  67. How do I update the currency used in the website?
  68. How do I specify which websites to load by default in Matomo?
  69. How do I specify the date used by default in Matomo reports?
  70. How do I add more than the default 5 custom dimensions?
  71. How do I add more than the default 5 custom variables?
  72. How do I control the categories tree structure in the Page URLs and Page titles reports?
      1. Enabling category structure in the Page titles report
  73. After the top 500 or top 1000 rows, Matomo automatically groups pages, keywords, websites, etc. under the label “Others”; How do I force Matomo to not limit the data?
        1. Custom dimensions rows limit
        2. Custom Reports
        3. Media Analytics
        4. Other report limits
        5. Reprocessing reports
        6. Archiving all data (unlimited rows)
        7. Matomo Cloud customers
  74. How do I make the Matomo Analytics RAW data available to my data warehouse?
      1. Export all data using our HTTP API
        1. Important note about high traffic Matomo servers
      2. 2) Direct read-only access to the MySQL database (not available for Matomo Cloud)
  75. How do I measure and give users access to reports for page sections / categories / mini-sites / languages?
      1. Solution 1) Tracking each website section as its own website and use Roll-Up Reporting
      2. Solution 2) One website, one custom dimension, and several custom reports and/or segments
        1. Create a new custom dimension in “Action” scope
        2. (recommended) Create a new custom dimension in “Visit” scope
        3. Creating the “Sections” custom reports
        4. (optional) Create segments for important “Sections”
  76. How do I track how many users open and read my newsletter emails (using a pixel / beacon)?
        1. Tracking even more data: the user ID example
        2. Important note about inaccurate data
        3. Other resources
  77. How do I track impressions and clicks and CTR of image banners and/or internal banner ads or text ads?
  78. How do I view Matomo application logs?
        1. Configuring logging in Matomo
        2. Enabling logging for Matomo Tracker
        3. Using the LogViewer plugin
  79. How do I force the reports to be re-processed from the logs?
        1. 1) Invalidate the existing historical aggregate reports
        2. 2) Re-process your reports
          1. if you’re using Matomo 3.x
        3. Summary
  80. How do I write SQL queries to select visitors, list of pageviews, searches, events in the Matomo database
      1. Matomo Database Schema documentation
      2. SQL query to select all visits and actions (during a certain time period)
      3. SQL query to select all visits and actions for a specific website ID
      4. SQL query to count number of unique visitors (Visitor IDs) for a specific period and website
      5. SQL Query to count the number of Unique Pageviews (Based on the Page URL) for a given ID Site.
      6. SQL query to select the list of all site searches
      7. SQL query to select all actions where an Event action contains a specific string
      8. SQL query to select all Event names, where the Event action contains ‘search’
      9. SQL query to select all page title pageviews (Each row is a unique pageview for a Page Title)
      10. SQL query to count the total number of pageviews for each Page Title:
      11. SQL query to select all page URL pageviews (Each row is a unique pageview for a Page URL)
      12. SQL query to count the total number of pageviews for each Page URL:
      13. SQL query to count and select all Outlinks from specific Page URLs:
      14. SQL query to count and select all Outlinks from specific Site Searches
      15. SQL Query to count the number of hits tracked in Matomo for all sites by ID Site
      16. Delete Alerts for a User
      17. SQL Query for discovering which users have superuser permission
      18. SQL query to measure the number of unfinished invalidation jobs
      19. SQL query to measure the total database size and individual tables
      20. SQL query to retrieve last login timestamp for Matomo Users
      21. More resources and SQL tips
      22. Exporting RAW visitors and actions data via the HTTPS API (Alternative)
  81. How do I force Matomo to use SSL (https) for improved security?
        1. Important Note: Enabling SSL (https://) in Matomo without first ensuring that you can load Matomo over SSL may cause Matomo to not be accessible.
        2. Note
  82. How to track error pages (404 pages) in Matomo?
  83. How do I track visits on my intranet?
      1. What is different between a normal website and an intranet website?
      2. To make sure that all unique visitors are tracked correctly in your intranet
      3. How do I get accurate geolocation for people viewing my Intranet site?
      4. If your whole Matomo instance is setup in the intranet only (no internet)
      5. How do I view data for more than 500 pages?
  84. How do I add a Javascript heartbeat timer to measure time spent by visitors on my pages, including the last page of their visit?
  85. How do I ask for user consent before tracking visitors or measuring user analytics?
  86. How do I automatically login my users in Matomo when they go from my CMS to Matomo?
  87. How do I know which version of Matomo I am using?
        1. More details
      1. Latest version of Matomo
  88. How do I customise the colors, fonts, font sizes of the Opt-out form so it matches my website design and styles?
  89. How do I enable users to login into Matomo inside an iframe?
  90. How do I log in to my account when I cannot verify my account using 2FA – no mobile device access
      1. Using a two-factor authentication recovery code
      2. When you don’t have access to your mobile device or your recovery codes
  91. How do I completely disable the Two-factor feature in Matomo?
  92. How do I include Matomo reports within an Iframe?
  93. How do I White Label Matomo, to change the Logo, the Colors, add custom widgets, etc.
  94. How do I specify the URL that users should be redirected to, when they logout of Matomo?
  95. How do I delete all statistics for a given website, or for all websites?
      1. Advanced instructions
  96. How do I configure my Matomo server to allow cross domain requests? (CORS)
      1. Security notes
      2. Heatmaps & Session Recordings
  97. How do I delete old visitors statistics for a given website and/or date?
        1. Delete visits using the UI
        2. Delete visits using a console command
        3. Delete visits using SQL query
        4. Delete actions (pageviews, events…) using a SQL query
  98. How do I delete rows of a report and specific visits to clean-up some of the reporting data?
      1. To delete specific parts of a report, or specific visits, follow the steps below:
  99. How do I export data from Matomo in CSV, TSV, XML, or JSON format?
  100. How do I migrate a particular website in Matomo to a different Matomo installation?
  101. How do I restrict viewing the analytics reports to one or more allowed IP addresses or IP ranges?
  102. How do I set some of my website directories or pages to not be tracked?
  103. How do I track my Single Page Applications with Matomo?
      1. How to setup the History Change trigger to track Single Page Applications
  104. How do I get reports for a custom date range?
  105. How do I remove tracking data tracked from specific IPs?
      1. Determine the IP address you need to search
        1. If you are not anonymising the Visitor IP
        2. If you are anonymising the Visitor IP in Matomo
      2. Deleting the tracked data
      3. Related FAQs
  106. How do I accurately measure the same visitor across multiple domain names (cross domain linking)?
        1. Tag Manager Instructions
      1. Advanced: Handling Dynamically Generated Links
      2. Goal funnel conversion across multiple domains
      3. A/B tests across domains
      4. Cross-domain tracking and Roll-Ups
  107. How do I search within reports?
      1. Search for special characters
      2. Search for rows that don’t match a sub-string
      3. If you can’t find the row you’re searching for
  108. How do I see how long ago was a report generated?
  109. How do I change the default email address “From:” in PDF/HTML email reports and other emails sent by Matomo?
  110. How do I change the default email address “From:” in password reset emails?
  111. How do I segment visitors that have been identified using tracking cookies?
      1. Option 1: Segment using the built-in Profilable condition
      2. Option 2: Segment using a Custom Dimension
        1. Create the Custom Dimension
        2. Configure the Matomo tracking code
        3. Configure Matomo Tag Manager
      3. Create the Consent-based Segment
  112. How do I get Matomo to use HTTPS for links to my site instead of HTTP?
  113. How do I force Matomo to only track Page URLs that belong to my website?
  114. How do I send Matomo emails using SMTP server? (for example using Gmail SMTP)
      1. Step 1 (required)
      2. Step 2 (required for Gmail as SMTP)
  115. How do I set a custom URL using the Matomo JavaScript tracker?
  116. How do I track a Phonegap app with Matomo?
  117. Migrate from Google Analytics to Matomo: Import GA data
      1. Plan your migration from Google Analytics to Matomo
        1. Importing and tracking to the same website in Matomo
        2. Importing as a backup of your GA reports
      2. Recommended steps for migrating from Google Analytics to Matomo Cloud:
      3. Recommended steps for migrating from Google Analytics to Matomo On-Premise:
      4. Finish setting up Matomo
      5. Working with the other Google products
      6. Final steps to remove Google Analytics
  118. Some of the Page URLs are tracked in duplicate (for example both “Default.aspx” and “default.aspx” are tracked as different pages), how do I force Matomo to record them as the same custom url?
  119. How do I track the URL Hash tags so the #hash appears in the Page URLs report and Visitor Log?
  120. How do I track my RSS/Atom feed subscribers?
  121. How do I disable all automated emails so that Matomo doesn’t send any email?
  122. How do I momentarily disable Matomo User Interface and/or Matomo visitor Tracking?
        1. Disable Matomo Tracking
        2. Disable the Matomo User Interface and APIs
        3. Re-enable Tracking API and UI
  123. How do I enable “Unique Visitors” metric for Yearly reports and for Custom Date Ranges?
  124. How do I disable the visits log or the visitor profile feature?
      1. Disable for all websites
      2. Disable only for specific website(s)
  125. How do I enable basic JavaScript error tracking and reporting in Matomo? (browser console error messages)
  126. How do I enforce tracking without cookies
  127. How do I set up Matomo offline tracking?
      1. Step 1. Create a file for the service worker
      2. Step 2. Register service worker
      3. Step 3. Initialise offline tracking
        1. Example:
      4. Known limitations
      5. We need your feedback
        1. Running into any issues?
        2. Are you a service worker or IndexedDB pro?
  128. How do I setup Matomo to track multiple websites without revealing the Matomo server URL footprint which appears in the JavaScript code in all websites?
  129. Configure Matomo Analytics to comply with CNIL consent exemption
      1. CNIL consent-exemption for website analytics
      2. Start my CNIL compliance check
        1. Restrictions and disabling the CNIL configuration
        2. How to interpret the assessment results
      3. Self-Assessment Table
      4. Additional conditions
      5. What the CNIL configuration affects
        1. Device model and screen resolution detection disabled
        2. Major browser and operating system versions
        3. Ecommerce – Restricted
        4. Ecommerce – Order ID anonymisation
        5. PII data filtered
        6. Turn off Visits Log and Visitor profiles
        7. Marketing and advertising features
        8. Referrer Anonymisation
        9. User ID disabled
        10. IP address anonymisation
        11. Data retention period
        12. Limit available segments
        13. Segmented data rounding enabled
        14. A/B Testing
        15. Heatmaps – Disable Heatmap/Session Recording
        16. Third-party cookies
        17. Opt out
  130. How do I enable third party tracking cookies, as well as the existing first party cookies?
  131. How do I see Page Performance reports?
      1. Page Performance Tables
    1. Access the Page Performance Report from any Page Table
      1. Analyse the performance of specific pageviews
  132. How do I track a website within an iframe
  133. How do I customise the Matomo Campaign parameters?
      1. Override default campaign parameters
        1. Update the server configuration
        2. Update the JavaScript tracker
  134. How do I configure outgoing (forward) proxy in Matomo (eg. squid)?
  135. How do I exclude / ignore my traffic or specific users from being tracked in Matomo?
      1. 1. Exclude visits using an IP address or IP address range
      2. 2. Exclude visits using an ignore cookie
      3. 3. Exclude visits using an opt-out cookie
      4. 4. Exclude visits that don’t match your domain
      5. 5. Exclude visits based on User-Agent
      6. 6. Exclude visits using tracking code modifications
      7. 7. Use segments to exclude certain visitors from reports
      8. 8. Delete tracked data
  136. How do I share a custom dashboard template with another user?
      1. How to Share Custom Dashboards With Other Users
      2. More Resources
  137. I forgot my password or username, how do I reset my password?
  138. Keyboard shortcuts for Matomo
  139. What is the default widgets selection and how to update the default dashboard layout
  140. How do I change the Superuser’s password when password recovery emails are not sent?
        1. If you use Matomo 3.0 or newer
        2. If you use Matomo 2.1 or newer:
        3. If you use Matomo older 2.0.3 or older:
        4. Related
  141. How do I exclude all requests with a specific User Agent from statistics ?
      1. Some bots are not tracked by default
      2. How do I exclude new bots from being tracked?
  142. How do I find the visitor IP Addresses?
  143. How do I recover superuser access and give superuser permission to another account?
  144. How do I select IP addresses or Visitor ID from the SQL database and convert binary table fields?
  145. What is the ‘anonymous user’ in Matomo?
      1. Enable the anonymous user
  146. How do I improve accuracy of “Time spent on page” and “Visit duration” metrics?
  147. How do I select or exclude all users within a range of IP addresses?
      1. How to select visitors within a certain IP range
      2. How to exclude visitors within a certain IP range
  148. How to invalidate the past historical reports so they can be re-processed from the logs
      1. Option 1: The InvalidateReports plugin
      2. Option 2: Use a console command
        1. Reprocess only one specific report
        2. When to use core:invalidate-report-data and core:archive
          1. core:invalidate-report-data
          2. core:archive
      3. Option 3: Use the HTTP API
        1. Invalidate a specific segment (optional)
        2. Target a specific period type (optional)
      4. Cascading invalidation behaviour
  149. How do I anonymise previously tracked raw data (visitors, visits) to remove personal data and delete database column values?
      1. Start the data anonymisation process
  150. How do I anonymise the Referrer information?
      1. Configure Privacy settings
        1. 1. Don’t anonymize the referrer
        2. 2. Remove query parameters from referrer URL
        3. 3. Keep only the domain of a referrer URL
        4. 4. Don’t record the referrer URL but still detect the type of referrer
  151. How do I change the default language of the Matomo UI for all user accounts?
  152. How do I display more than the default 15 websites in the website selector?
  153. How do I edit my username, or the username of another user?
  154. How do I get the number of products left in the cart by each Visitor?
  155. How do I get the time elapsed between two actions or two events in the same visit or even across multiple visits?
  156. How do I improve the detection accuracy of Unique visitors and Returning visitors?
  157. How do I integrate Matomo with my existing tools and services?
  158. How do I remove from Matomo the links to “Professional Services” and banners for Premium features?
      1. Here is how you can remove these commercial mentions
  159. How do I see all user interactions in Visitor profiles and Visits log (not just the first 500)?
  160. How do I create a new visit when a user visits my website using a new campaign or a new website referrer?
  161. How do I create new visit on demand, so that several users using the same computer or browser are counted separately?
        1. Notes
  162. How do I prevent Matomo from creating a new visit after 10000 actions?
  163. How can I automatically stop long running database queries?
        1. Archiving queries
        2. Live queries
        3. Advertising Conversion Export
  164. How do I get the DB-IP databases or Maxmind GeoIp2 to improve accuracy of Country detection, and detect visitors’ Cities and Regions?
  165. How do I install the PHP extension for GeoIP 2?
      1. Activate the GeoIp2 Plugin in Matomo
      2. Installing libmaxminddb
      3. Installing Extension
  166. How do I get a license key for the MaxMind geolocation database?
  167. How do I get the geolocation download URL for the free MaxMind DB?
  168. How do I install the GeoIP 2 module for Apache for accurate Geo location data?
      1. Configuring Matomo
  169. How do I install the GeoIP 2 module for Nginx?
      1. Configuring Matomo
  170. How do I apply accurate geolocation to old visits, tracked before I enabled geo location?
  171. How do I get company and ISP information using GeoIP2 databases?
  172. How do I track and measure how my Matomo service is being used?
  173. How can I add the dimensions Campaign name, Campaign medium, Campaign source, Campaign keyword, Campaign content to a custom report?
  174. How do I add a referral exclusion in Matomo?
        1. As of Matomo 4.12.0:
        2. Before Matomo 4.12.0:
  175. How do I change the number of rows in scheduled email reports (csv, html or pdf) and show more than the default 23 rows?
  176. How do I clear the various caches in Matomo?
  177. How do I create a simple affiliates system and track new customers and new revenue for each affiliate?
        1. Track users and customers with an affiliate URL parameter
        2. Reporting affiliate conversions and revenue
        3. Accurately credit your affiliates who first brought you the leads
        4. Customising the affiliate URL parameter
        5. Limitations
  178. How do I customise any text label such as menus, report names, column names, event names and values, custom dimension names, custom report names, dashboard names and more?
      1. Overwrite label within Matomo app
      2. Overwrite labels within reports data
  179. How do I tell Matomo to track Unique Visitors based on the Visitor ID cookie, instead of using IP Address?
  180. How do I track user acquisition and social media activity with Matomo?
  181. How do I use Custom Variables? (deprecated)
      1. What is a Custom Variable?
      2. Use Custom Dimensions instead
      3. Requirements
      4. Tracking a Custom Variable
      5. Custom Variable Reporting
      6. Custom Variables in the Visits Log
      7. Usage of your Custom Variables slots
      8. Data Limits for Custom Variables
      9. References
  182. How to change the tracking image
  183. How to disable HTTPS for matomo.org requests?
  184. How do I enable tracking for visitors when JavaScript cannot be used on a page (or for Visitors that have disabled JavaScript)?
      1. Enable Tracking for visitors who have JavaScript disabled
      2. Using Server-side Tracking or Log Analytics
  185. How do I exclude specific tracking requests in Matomo?
        1. Requirements
        2. Configuration
        3. More examples:
      1. Other ways Matomo allows you to exclude traffic (directly in the Matomo UI):
  186. How do I customise the JavaScript Tracker code on all websites at once?
  187. How do I take notes of particular events influencing my traffic?
  188. How do I verify the cryptographic PGP signature of Matomo packages?
  189. How do I disable the update notification email when a new Matomo version is released?
  190. How do I get the Visitor Geo Location data from the Visitor IP? (or in JavaScript/JSON when IP address is not known)
        1. JavaScript / JSON API to get the visitor geo location without knowing the IP address
  191. How do I access a real time counter of visitors currently on my site?
  192. How do I create Custom Segments of Visitors and apply the segments to filter my report’s data?
        1. Matomo On-Premise
  193. How do I fix the errors “Unable to write in the cache directory” or “The directory matomo/tmp/cache/*” is not writable.”?
      1. General Solution
  194. How to fix the error “Matomo is unable to write to some directories”?
  195. Create and manage websites
      1. Add a Website
        1. Tracking data anonymisation settings
      2. Update and Delete Websites
  196. How do I backup and restore the Matomo data?
      1. Export your MySQL/MariaDB database in a file
      2. Restore the backed up database dump
      3. Advanced: when Matomo is setup in writer/reader configuration (DB replication)
        1. Multiple DB nodes: use mysqldump on a DB slave/read replica
        2. Single DB node with a large database: use Percona XtraBackup.
  197. How do I configure Matomo Tracking for high reliability?
  198. How do I improve my website pages load time and speed and minimise Matomo JavaScript Tracker performance overhead?
  199. How do I make “Transitions” feature work faster on high traffic websites?
  200. How do I remove the tracked domain or hostname from all page URLs?
  201. How do I configure Matomo to use Redis for better Tracking API scalability?
      1. Instructions
  202. How do I fix a truncated event value?
  203. How do I fix a truncated or rounded revenue or price value?
  204. How do I fix the tracking failure “The site does not exist.”
  205. How do I fix the tracking failure ‘Request was not authenticated but should have’
      1. Include a valid authentication token
      2. Late tracking from mobile SDKs
      3. Understanding token behaviour with GET vs POST requests
        1. GET requests
        2. POST requests
  206. How do I disable tracking failures notification emails?
  207. How to configure Redis as a shared cache in a load balanced environment?
  208. How do I configure Redis for session handling in a load balanced environment?
  209. How do I prevent Superusers from doing specific high risks administrative actions?
      1. When would I want to prevent Superusers from doing these actions?
      2. How do I prevent Superusers from doing high risks administrative actions?
  210. How can I change the language of Matomo as a user?
        1. Follow the steps below to change the language:
  211. In JavaScript Tracker, how do I enable the use of navigator.sendBeacon()?
  212. How do I create a segment using the Acquisition Date condition?
      1. Segmenting for a specific Date
      2. Segmenting for a specific Time
  213. How do I disable browser feature detection completely?
  214. How do I find a specific Ecommerce Order ID details?
  215. How do I get the most popular landing pages viewed by visitors coming through a specific channel type? (direct, website, AI, social or campaign)
      1. Create the segment and view the report
      2. Segmentation limitation for Referrers
  216. How do I monitor that Matomo service is up and running?
  217. How do I prevent Matomo from sending any email, when testing Matomo on a staging/non-prod environment?
  218. How do I see the pages that most visitors landed on? How do I access the top pages people use before leaving the websites?
  219. How do I submit a feature request for Matomo?
  220. Setting up accurate visitors geolocation
      1. Maintaining Geolocation Databases
      2. Reports: Continent, Country, Region, City & Provider
      3. Geolocation Configuration FAQs
  221. How do I find a specific visitor log by segmenting on Visitor ID?
  222. How do I downgrade from Matomo 4 to Matomo 3?
  223. How do I decrease archiving memory usage when processing a large number of websites?
  224. How do I send tracking requests to two or more Matomo servers?
      1. Send identical tracking data to multiple Matomo servers
      2. Send different data to multiple Matomo servers
  225. How do I track pages across Multilingual sites or sites in Multiple Languages in Matomo?
      1. Option 1. Generate a custom page URL and track it as a Custom Dimension.
      2. Option 2. Extract the URL path and track it as a Custom Dimension without the language path
  226. How do I set a custom page title using the Matomo JavaScript title?
  227. How do I track Page Scrolls or Page Scroll Depth in Matomo?
      1. 1) Use the Heatmaps and Session Recording Plugin
      2. 2) Use the Matomo Tag Manager to track scroll percentage.
      3. 3) Manually track scroll percentage in your website using events and triggering the event using JavaScript code on your website.
  228. How to enable file:// protocol tracking
      1. Why is no data tracked for local files?
  229. How can I purchase a Matomo Cloud plan?
      1. If you want to purchase a Matomo Cloud plan, please follow the steps below:
  230. How do I find the Hits per year when using Google Analytics?
      1. To find the number of hits per month in Google Analytics
      2. To find the number of hits per month in Google Analytics 4 (GA4)
  231. How do I login to Matomo?
      1. If you are using Matomo and don’t remember how to login, please follow the steps below.
        1. How to login using Matomo On-premise:
        2. How to login using Matomo Cloud:
        3. How to login using Matomo for WordPress:
  232. How do I setup Auto-Archiving script to run using systemd on a Linux system instead of cron?
      1. Steps to setup auto-archiving with systemd
        1. 1. Setup a ‘service’ file which tells systemd what command to run
        2. 2. Setup a ‘timer’ file, which tells systemd when to run the command
        3. 3. start the timer and make it automatically restart on system reboot
      2. A note on auto-archiving logs and systemd
  233. How to track your subscription business with Matomo
      1. Tracking subscription information in Matomo
      2. Customising your tracking
      3. Tracking renewals
      4. Understanding your subscription business to get actionable insights
        1. Subscriptions over time
        2. Comparing
      5. Analysing user behaviour to understand what leads to sign ups, cancellations, and more
        1. Things you want to look out for or find while learning more about your users
      6. Advanced analysis
        1. Segmenting
      7. Custom reports
  234. Include & Customise Matomo for your Project
      1. config/config.ini.php: The Matomo Config File
      2. bootstrap.php: Execute Custom Code Before Matomo Runs
      3. Call the API in PHP
      4. Use a custom plugin, or build your own
  235. Measure 100% of Ecommerce interactions using server-side tracking
      1. Why this guide?
      2. Assumptions
      3. Requirements
      4. Server side implementation in your Ecommerce platform
        1. A. When there is a new ecommerce order
          1. 1. Check that this order has not yet been recorded in Matomo
          2. 2. Store some metadata about the customer along with the order
          3. 3. Record the ecommerce order and all products to Matomo by sending an HTTPS Tracking API request
        2. B. When there is a new cart update
          1. 1. Record the ecommerce cart update and all products to Matomo by sending an HTTPS Tracking API request
      5. Limitations
  236. How to integrate Osano CMP with Matomo
      1. Before you start
      2. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Validate the Integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the Integration
      4. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo cookie consent handling script
        3. Validate the Integration
  237. How to integrate Cookiebot CMP with Matomo
      1. Before you start
      2. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Validate the Integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the Integration
      4. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo cookie consent handling script
        3. Validate the Integration
  238. How to integrate CookieYes CMP with Matomo
      1. Before you start
      2. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Validate the Integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the Integration
      4. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo cookie consent handling script
        3. Validate the Integration
  239. How to integrate Tarte au Citron CMP with Matomo
      1. Before you start
        1. Use Automatic or Manual mode
      2. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Validate the Integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the Integration
      4. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo cookie consent handling script
        3. Validate the Integration
  240. How to integrate Klaro Cloud CMP with Matomo
      1. Before you start
        1. Set up Klaro CMP
      2. Method 1: Consent-based Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo consent handling script
        3. Validate the integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the Consent Manager
        2. Validate the integration
      4. Method 3: Adaptive Tracking
        1. Install and modify the Matomo tracking code
        2. Install the Matomo cookie consent handling script
        3. Validate the integration
  241. How to integrate Complianz for WordPress CMP with Matomo
      1. Before you start
        1. Install the Matomo plugin
        2. Install the Complianz GDPR/CCPA Cookie Consent plugin
      2. Method 1: Consent-based Tracking
        1. Configure Complianz consent manager
        2. Remove/disable Matomo tracking
        3. Validate the integration
      3. Method 2: Opt-out Tracking (CNIL Exemption)
        1. Configure the consent manager
        2. Validate the integration
      4. Method 3: Adaptive Tracking
        1. Configure Complianz consent manager
        2. Remove/disable Matomo tracking
        3. Validate the integration
Thanks for contacting us! We will get in touch with you shortly.

Feedback on this page

"*" indicates required fields

Your email address so we can reply to your message.
Write your message to the Matomo team here.
Your information will be used only to answer you. Your data will be processed by us, our hosting provider, and our support ticket provider. For more information have a look at our privacy policy.
To submit this form please answer the above captcha.

Navigate to

Navigate to

Company

  • About Matomo
  • History
  • Contributors
  • Hiring
  • Contact Us
  • Partner Programme

Support

  • Help Centre
  • Developers
  • Contact support

Sales

  • Contact Sales
  • Plans & Pricing

Product

  • Tag Manager
  • WordPress Plugin
  • URL Campaign Builder
  • Integrations
  • Open Source
  • Download Matomo
  • Changelog
  • Issue Tracker
  • GitHub
  • Feedback Panel
  • Data Warehouse Connector

Industries

  • Banks 
  • Enterprise 
  • Financial Institutions 
  • Fintech

Legal

  • Cookie Notice
  • Matomo Cloud Privacy Policy
  • Website Privacy Policy
  • Website Terms of use
  • Matomo Cloud Terms of Service
  • Matomo Cloud Data Processing Agreement (DPA)
  • Matomo Marketplace Terms and Conditions
  • Support Plan Services Terms and Conditions

Resources

  • Blog
  • Case Studies
  • Newsletter
  • Guides
  • Masterclasses
  • Matomo in the Press
  • Press Enquiries
  • GDPR Timeline
  • How to Check Website Traffic

Comparisons

  • vs Google Analytics
  • vs Piano Analytics
  • vs Amplitude
  • vs Adobe Analytics vs Google Analytics
  • vs Piwik PRO
  • vs Firebase
  • vs Plausible
  • vs Fathom
  • vs Hotjar
  • vs WP-Statistics
  • vs Mixpanel
  • Top Web Analytics Tools

Privacy

  • Data ownership
  • GDPR
  • Security
  • Matomo Trust Center
© 2026 matomo.org