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 every language available in the Weblate app.
Using that application, can officially contribute easily by adding your mothertongue language, or by editing missing strings.
This is free software distributed under GPLv3 license or later
You can ask for support and your feedback is appreciated at plugin's issue center on Github.
Altered user settings, regular users can't no more select custom periods.
Altered calender for regular users, they cannot select custom periods, no more from calendar.
Administrative settings, controls plugin's behaviour by editing general settings.