access.php
7 months ago
adblocker-notice.php
2 months ago
advanced_settings.php
10 months ago
exclusion_settings.php
4 years ago
geolocation_settings.php
2 months ago
get_started.php
3 months ago
import_wp_statistics.php
2 months ago
info.php
3 months ago
info_bug_report.php
2 years ago
info_help.php
1 year ago
info_high_traffic.php
2 years ago
info_matomo_desc.php
1 year ago
info_multisite.php
3 months ago
info_newsletter.php
2 months ago
info_shared.php
1 year ago
marketplace.php
1 month ago
marketplace_setup_wizard.php
3 months ago
marketplace_setup_wizard_body.php
1 month ago
measurable_settings.php
2 years ago
privacy_gdpr.php
4 years ago
scheduled_tasks_failures.php
2 months ago
settings.php
2 months ago
settings_errors.php
4 years ago
summary.php
2 months ago
systemreport.php
2 months ago
tracking.php
4 months ago
update_notice_clear_cache.php
2 months ago
whats-new-notifications.php
2 months ago
privacy_gdpr.php
100 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Matomo - free/libre analytics platform |
| 4 | * |
| 5 | * @link https://matomo.org |
| 6 | * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 7 | * @package matomo |
| 8 | * https://github.com/braekling/matomo |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | use WpMatomo\Admin\Menu; |
| 13 | use WpMatomo\Admin\PrivacySettings; |
| 14 | use WpMatomo\Settings; |
| 15 | |
| 16 | if ( ! defined( 'ABSPATH' ) ) { |
| 17 | exit; |
| 18 | } |
| 19 | /** @var Settings $matomo_settings */ |
| 20 | |
| 21 | ?> |
| 22 | |
| 23 | <h2><?php esc_html_e( 'Matomo ensures the privacy of your users and analytics data! YOU keep control of your data.', 'matomo' ); ?></h2> |
| 24 | |
| 25 | <blockquote |
| 26 | class="matomo-blockquote"><?php esc_html_e( 'One of Matomo\'s guiding principles: respecting privacy', 'matomo' ); ?></blockquote> |
| 27 | <p> |
| 28 | <?php esc_html_e( 'Matomo Analytics is privacy by design. All data collected is stored only within your own MySQL database, no other business (or Matomo team member) can access any of this information, and logs or report data will never be sent to other servers by Matomo', 'matomo' ); ?> |
| 29 | . |
| 30 | |
| 31 | <?php |
| 32 | echo sprintf( |
| 33 | esc_html__( 'The source code of the software is open-source so hundreds of people have reviewed it to ensure it is %1$ssecure%2$s and keeps your data private.', 'matomo' ), |
| 34 | '<a href="https://matomo.org/security/" rel="noreferrer noopener">', |
| 35 | '</a>' |
| 36 | ); |
| 37 | ?> |
| 38 | </p> |
| 39 | <?php if ( $matomo_settings->is_network_enabled() && is_network_admin() ) { ?> |
| 40 | <h2>Configure privacy settings</h2> |
| 41 | <p> |
| 42 | Currently, privacy settings have to be configured on a per blog basis. |
| 43 | IP addresses are anonmyised by default. Should you wish to change any privacy setting, please go to the Matomo |
| 44 | privacy settings within each blog. |
| 45 | We are hoping to improve this in the future. |
| 46 | </p> |
| 47 | <?php } else { ?> |
| 48 | |
| 49 | <h2> |
| 50 | <?php esc_html_e( 'Ways Matomo protects the privacy of your users and customers', 'matomo' ); ?> |
| 51 | </h2> |
| 52 | <p><?php esc_html_e( 'Although Matomo Analytics is a web analytics software that has a purpose to track user activity on your website, we take privacy very seriously.', 'matomo' ); ?></p> |
| 53 | <p><?php esc_html_e( 'Privacy is a fundamental right so by using Matomo you can rest assured you have 100% control over that data and can protect your user\'s privacy as it\'s on your own server.', 'matomo' ); ?></p> |
| 54 | |
| 55 | <ul class="matomo-list"> |
| 56 | <li> |
| 57 | <a href="<?php echo esc_url( Menu::get_matomo_goto_url( Menu::REPORTING_GOTO_ANONYMIZE_DATA ) ); ?>"><?php esc_html_e( 'Anonymise data and IP addresses', 'matomo' ); ?></a> |
| 58 | </li> |
| 59 | <li> |
| 60 | <a href="<?php echo esc_url( Menu::get_matomo_goto_url( Menu::REPORTING_GOTO_DATA_RETENTION ) ); ?>"><?php esc_html_e( 'Configure data retention', 'matomo' ); ?></a> |
| 61 | </li> |
| 62 | <li> |
| 63 | <a href="<?php echo esc_url( Menu::get_matomo_goto_url( Menu::REPORTING_GOTO_OPTOUT ) ); ?>"><?php esc_html_e( 'Matomo has an opt-out mechanism which lets users opt-out of web analytics tracking', 'matomo' ); ?></a> |
| 64 | (<?php esc_html_e( 'see below for the shortcode', 'matomo' ); ?>) |
| 65 | </li> |
| 66 | <li> |
| 67 | <a href="<?php echo esc_url( Menu::get_matomo_goto_url( Menu::REPORTING_GOTO_ASK_CONSENT ) ); ?>"><?php esc_html_e( 'Asking for consent', 'matomo' ); ?></a> |
| 68 | </li> |
| 69 | <li> |
| 70 | <a href="<?php echo esc_url( Menu::get_matomo_goto_url( Menu::REPORTING_GOTO_GDPR_OVERVIEW ) ); ?>"><?php esc_html_e( 'GDPR overview', 'matomo' ); ?></a> |
| 71 | </li> |
| 72 | <li> |
| 73 | <a href="<?php echo esc_url( Menu::get_matomo_goto_url( Menu::REPORTING_GOTO_GDPR_TOOLS ) ); ?>"><?php esc_html_e( 'GDPR tools', 'matomo' ); ?></a> |
| 74 | </li> |
| 75 | </ul> |
| 76 | <?php } ?> |
| 77 | <h2> |
| 78 | <?php esc_html_e( 'Let users opt-out of tracking', 'matomo' ); ?> |
| 79 | </h2> |
| 80 | <p><?php esc_html_e( 'You have two options to embed the opt out iframe into your website:', 'matomo' ); ?></p> |
| 81 | <ul class="matomo-list"> |
| 82 | <li> |
| 83 | <?php |
| 84 | echo sprintf( |
| 85 | esc_html__( 'Use the short code %1$s.', 'matomo' ), |
| 86 | '<code>' . esc_html( PrivacySettings::EXAMPLE_MINIMAL ) . '</code>' |
| 87 | ); |
| 88 | ?> |
| 89 | <br/> |
| 90 | <?php esc_html_e( 'You can use these short code options:', 'matomo' ); ?> |
| 91 | <ul class="matomo-list"> |
| 92 | <li>language - eg de or |
| 93 | en. <?php esc_html_e( 'By default the language is detected automatically based on the user\'s browser', 'matomo' ); ?></li> |
| 94 | </ul> |
| 95 | |
| 96 | <?php esc_html_e( 'Example', 'matomo' ); ?>: <code><?php echo esc_html( PrivacySettings::EXAMPLE_FULL ); ?></code> |
| 97 | </li> |
| 98 | <li><?php esc_html_e( 'Or you can add the "Matomo opt out" block directly to your page.', 'matomo' ); ?></li> |
| 99 | </ul> |
| 100 |