How do I disable only the session recording feature?
Although Matomo Heatmap and Session Recording features are bundled together, it is possible to disable the Session Recording feature by changing a setting.
Things to consider:
- Disabling Session Recording is applied to all the websites in your Matomo.
- All the existing session recordings will be deleted across all the websites.
- Heatmaps will still work unless you disable the Heatmaps feature too.
Follow the steps below to disable session recording:
- Login to Matomo as a Superuser.
- Navigate to Administration
> Settings > General Settings.
- Scroll down to HeatmapSessionRecording and click the Disable Session recording checkbox.
- Save your changes.
How to enable Session Recording again?
To enable Session recording again, follow the same steps as mentioned above.
How to prevent super users from enabling this feature again ?
It is possible that a Superuser may accidentally enable the feature again. In order to prevent this from happening, the setting below can be added to the config/config.ini.php. Once added, the option to Disable/Enable Session Recording will not be available in the user interface anymore. If you’re using Matomo Cloud, you may have to get in touch with our Cloud Support team.
[HeatmapSessionRecording]
disableSessionRecording=1