Matomo web analytics
If you run a website as part of your FI activities (not necessarily under the
fi.muni.cz domain or on a dedicated domain), we can provide you with web analytics tracking using
Matomo (formerly called Piwik) web analytics hosted on FI.
The aim is to provide website operators interested in tracking their traffic with an alternative to Google Analytics (GA), which is problematic to run in terms of data processing and cookie regulations (GDPR). We therefore do not recommend using GA in a university environment. Using Matomo solves these problems by running the solution fully within FI MU and not using cookies to track visitors.
For a comparison of GA and Matomo capabilities, see the overview. If you have been running GA on your site, this data can be migrated to Matomo. We also support Matomo Tag Manager. With Tracking Spam Prevention, we block headless browsers.
Please note that as of the beginning of 2022 the conditions regarding the use of cookies are stricter.
I am interested in deploying
If you are interested in tracking your site using a faculty instance of Matomo, please send a request with a justification to for consideration, and attach the answers to the following questions directly:
- please provide the URL of the site in question
- Does the site have alternative domain names? (the difference between
http:vshttps:ordomain.tldvswww.domain.tldis irrelevant) - do you also want to track navigation using snippets/anchors? (
#anchor; especially useful for SPA sites) - Do you want to exclude some address ranges from tracking? (in case they skew the statistics)
- do you want to ignore some URL parameters? (recommend ignoring
fbclid, otherwise Matomo will consider identical URLs differing only in the Facebook tracking parameter as different, which is almost certainly not desirable) - do you want to import data from GA if the site previously used it?
- Does the site support search, and if so, what is the parameter name for the query (and possibly for the category)?
- which faculty accounts should have the right to view the site's analytics?
How do I access Matomo
Request access to existing web analytics at through the administrator of that site.
If you have been granted access to Matomo, you will see a Matomo link in the Faculty Administration Directory under the FI Site Administration section.
Use your faculty login credentials to log in.
Basic overview of options
Deploy a tracking code
The tracking code can be found under the cog (top right) → Websites (left menu) → Tracking code.
When deploying the tracking code, note that if you do not check
Disable all tracking cookies when generating the code (when clicked in the
Options -
Advanced section; it will be reflected in the code by the presence of the line
_paq.push(["disableCookies"]);), you
must display the bar to obtain consent to use cookies!
If your site is an SPA, see SPA in Matomo.
If you specifically want to track error pages (404 and others), follow
Matomo's FAQ. However, replace all occurrences of
/ with
~:~ in the code being added !
If you are using CSP, you may need to extend the configuration to include
"connect-src
https://fadmin.fi.muni.cz; script-src https://fadmin.fi.muni.cz;".
Useful tips on the web interface
- in the top panel you can set the period for which data is displayed (note that Matomo by default displays data for yesterday)
- remember that if you use DNT, ad blocking add-ons (uBlock Origin, AdBlock, ...) or privacy enhancers, Matomo may not be able to record your visits
- Visitors → Visitors Log = samples of specific site visits
- Visitors → Locations = geolocation of visitors by IP address
- Visitors → Real-time Map = real-time preview of site accesses
- Behaviour → Pages = statistics of page accesses by URL
- Behaviour → Page titles = enables error analysis (404, 403, etc.) if this option is set in the tracking code on the site
- Behaviour → Site Search = site search
- Acquisition → Search Engines & Keywords = what search engine queries lead to the site (e.g. "what is computer graphics")