This Matomo Plugin hides custom date range selection from calendar for regular users and avoids users setting dynamic ranges as default value in their personal profile.
When a user asks for a ranged date report, Matomo stats building it on the fly during browsing. This may slow down Matomo installation in case is loaded by visits and you have a large number of tracked websites.
Activity is resource intensive so that live tracking may become slow or inaccurate.
The main feature is regular users can't select any custom range in the calendar, only users having Superadmins privilege still can.
Second feature is removing dynamic choices in the field "Report date to load by default" in User Settings page for all regular users.
Users profiles with Superadmin privilege still untouched and user profiles of Website Administrators will only display a notification about plugin's behavior.
Superadmin can enable or disable the two features independently by clicking checkboxes in the plugin's configuration page in the web interface.
This plugin came translated in: English, Italian and French. For more languages to come, just file a pull request adding a new
lang/*.json file in your mother language, (see Can I contribute f.a.q.)
This plugin is compatible with Matomo 2 (see requirements below for more details).
I would like to see a demonstration... Just take a look at screenshots .
Can I donate to you? Thanks but we can't accept money donations because we're a Government Organization. Just feel free to contribute the source code.
Can I contribute on development? New languages translations are welcome! Sure, you can, just file a pull request on Github