Matomo: Exclude sensitive data from URLs

This documentation is part of the Getting started guide. View the full guide here: Discover how to efficiently set up and utilize Matomo for your analytics requirements..

👋 Welcome to the Stackhero documentation!

Stackhero provides a Matomo cloud solution that streamlines web analytics:

  • Unlimited websites, members, segments, goals, and data retention: track everything you need, for as long as you need it.
  • Effortless updates: keep your analytics platform current with a single click.
  • Custom domain name with HTTPS: run Matomo at a secure, branded URL, such as https://analytics.your-company.com.
  • High performance and strong security: your data runs on private, dedicated infrastructure for reliability and privacy.

With Stackhero, you can launch Matomo analytics in minutes and manage all your sites from one place. Try our Matomo cloud hosting to simplify analytics and focus on what matters.

Sometimes, URLs may contain sensitive information like tokens or email addresses. Matomo offers a feature to exclude this data, helping you maintain privacy and security.

Visit your Matomo dashboard, navigate to Administration > Websites > Manage, and select the website you want to update. Click the edit icon and input the parameters you want to exclude in the Excluded Parameters field.

For instance, adding token will remove the token parameter from a query like ?page=authorization&token=abcd.

Note that Excluded Parameters supports regular expressions as well!