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.

Installation

You can easily install the plugin by Matomo's Marketplace web interface.

Or please, read official Matomo's documentation about plugins installation.

Translations

horizontal-auto.svg

Changelog

v4.x

  • Adding Weblate translations and Weblate repository syncronization.
  • Bumping mayor version to match Matomo's.
  • Refactoring PHP/DI
  • Refactoring UI modification, by css not js

v3.x

Since this version, this plugin is Matomo 4 compatible

v.2.x

Adding Matomo 3.x plugin compatibility, Piwik 2.x is deprecated and no more supported. Please download v.1.x for older versions.

v.1.x

  • Settings environment breaks compatibility with Matomo versions < 2.8.0, thanks to @ThaDafinser.
  • New plugin settings user interface for super admins, some better improvement and few bugs solved.
  • Solved a regression due to a lack of Settings Feature in Matomo's versions below 2.4.0
  • Merged French translation
  • Fixed Matomo compatibility with 2.10 from 2.7 by @ThaDafinser in PR #6
  • Custom date range selection is disabled in the calendar only for regular users. A shorts jQuery snippet hides radio input and submit button.
  • Regular users who chose a range date as their default are now forced to yesterday report just visiting the index page with a warning notification.
  • New French translation by @gaumondp
  • First release and Marketplace integration
  • User Manager screen shot and better readme documentation

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? Sure, you can, just file a pull request on Github

  • RerUserDates-cal

  • RerUserDates-settings

  • RerUserDates


Please share