I have a client who needs to disable the Analytics completely for certain legal reasons related to student privacy. I want to verify what all needs to be done.
A) Disable processing
There seems to be no master setting to turn this on and off like other tools, such as Badges or Competencies or Messaging. There is no setting in Site admin > Analytics for this either.
So, is the only way to do this either to:
1) Disable each Model in its Action menu > Disable, and/or
2) To turn off the various Scheduled tasks related to this, which seems to be three: Predict models, Train models, and Analytics cleanup.
3) Disable this for any users other than admins to re-enable. Are there any capabilities other than moodle/analytics:managemodels and moodle/analytics:listinsights that are involved?
AND
B) Remove any existing data
How do I remove any and all previous data processing that may have taken place before we turn those off?
There are nine database tables with table names starting with _analytics_ so are these the only tables used? Some of these are obviously setting tables and can remain but any related to data collected need to be emptied.
And are there any directories used for storage other than the one set in the Models output directory (eg. pathto/moodledata/moodle/models)
Anything else?
Will there be a master switch to turn this off in Moodle 3.5? If not I would suggest so and that it may be off by default too. Just assuming that it is ok to start such processing on site without regard to what legal or privacy issues may be present would not be good.
Thanks
Randy