Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDPR settings is config.ini.php #12920

Closed
vzelen opened this issue May 16, 2018 · 1 comment
Closed

GDPR settings is config.ini.php #12920

vzelen opened this issue May 16, 2018 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@vzelen
Copy link

vzelen commented May 16, 2018

Hi there,

Thank you for the rapid support of GDPR.

Could you please provide information how to enable particular (or all) GDPR features for anonymisation of user_ids and order_ids in Matomo before its run instead of enabling it during the runtime in UI?
Is there an appropriate config option in .ini.php that controls these features? or specific row in the database?

Solved: its stored in the database.

@tsteur
Copy link
Member

tsteur commented May 16, 2018

You can call the API method PrivacyManager.setAnonymizeIpSettings($anonymizeIPEnable, $maskLength, $useAnonymizedIpForVisitEnrichment, $anonymizeUserId = false, $anonymizeOrderId = false) after you set up the instance. See https://developer.matomo.org/api-reference/reporting-api

You can tweak the DB also directly but this may change over time. Check the option table with prefix Privacy Manager see https://github.com/matomo-org/matomo/blob/3.x-dev/plugins/PrivacyManager/Config.php#L31-L61

@tsteur tsteur closed this as completed May 16, 2018
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants