access.php
7 months ago
adblocker-notice.php
7 months ago
advanced_settings.php
10 months ago
exclusion_settings.php
4 years ago
geolocation_settings.php
2 years ago
get_started.php
2 months ago
import_wp_statistics.php
2 months ago
info.php
2 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
2 months ago
info_newsletter.php
4 years ago
info_shared.php
1 year ago
marketplace.php
3 months ago
marketplace_setup_wizard.php
3 months ago
marketplace_setup_wizard_body.php
3 months ago
measurable_settings.php
2 years ago
privacy_gdpr.php
4 years ago
scheduled_tasks_failures.php
2 years 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
5 years ago
whats-new-notifications.php
1 year ago
info_multisite.php
68 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 | */ |
| 9 | |
| 10 | use WpMatomo\Settings; |
| 11 | |
| 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | exit; |
| 14 | } |
| 15 | |
| 16 | /** @var Settings $settings */ |
| 17 | ?> |
| 18 | |
| 19 | <?php require 'info_newsletter.php'; ?> |
| 20 | <p><?php esc_html_e( 'You are seeing this page as you are viewing the network admin. Matomo differentiates between two different multi site modes:', 'matomo' ); ?></p> |
| 21 | <h2><?php esc_html_e( 'Matomo is network enabled', 'matomo' ); ?></h2> |
| 22 | <p><?php esc_html_e( 'In this mode, the tracking and access settings are managed in the network admin in one place and apply to all sites.', 'matomo' ); ?> |
| 23 | <?php esc_html_e( 'An administrator of a site cannot view or change these settings.', 'matomo' ); ?> |
| 24 | <br/><br/> |
| 25 | <?php esc_html_e( 'The privacy settings have to be configured per site currently.', 'matomo' ); ?> |
| 26 | </p> |
| 27 | <h2><?php esc_html_e( 'Matomo is not network enabled', 'matomo' ); ?></h2> |
| 28 | <p><?php esc_html_e( 'In this mode, the tracking and access settings are managed by each individual site. They cannot be managed in one central place for all sites. An administrator or any user with the "Matomo super user" role can change these settings.', 'matomo' ); ?> |
| 29 | </p> |
| 30 | <h2><?php esc_html_e( 'Managing many sites?', 'matomo' ); ?></h2> |
| 31 | <p> |
| 32 | <?php |
| 33 | echo sprintf( |
| 34 | esc_html__( |
| 35 | 'If you are managing quite a few sites or have quite a bit of traffic then we recommend installing %1$sMatomo On-Premise%2$s separately outside WordPress (it\'s free as well) and use it in combination with the %3$sConnect Matomo%4$s WordPress plugin. |
| 36 | Your Matomo will then run a lot faster, you can put Matomo on a separate server if needed, and it allows you to make use of additional features such as %5$sRoll-Up Reporting%6$s.', |
| 37 | 'matomo' |
| 38 | ), |
| 39 | '<a href="https://matomo.org/matomo-on-premise/" target="_blank" rel="noreferrer noopener">', |
| 40 | '</a>', |
| 41 | '<a href="https://wordpress.org/plugins/wp-piwik/" target="_blank" rel="noreferrer noopener">', |
| 42 | '</a>', |
| 43 | '<a href="https://plugins.matomo.org/RollUpReporting" target="_blank" rel="noreferrer noopener">', |
| 44 | '</a>' |
| 45 | ); |
| 46 | ?> |
| 47 | |
| 48 | <br/><br/><?php esc_html_e( 'Don\'t want all the hassle of maintaining a Matomo?', 'matomo' ); ?> <a |
| 49 | href="http://matomo.org/start-free-analytics-trial/" rel="noreferrer noopener" |
| 50 | target="_blank"><?php esc_html_e( 'Sign up for a free Matomo Cloud trial', 'matomo' ); ?></a>. <?php esc_html_e( 'We can migrate all your data onto our Cloud for free. 100% data ownership guaranteed.', 'matomo' ); ?> |
| 51 | </p> |
| 52 | |
| 53 | <h2><?php esc_html_e( 'Matomo sites', 'matomo' ); ?></h2> |
| 54 | <ul class="matomo-list"> |
| 55 | <?php |
| 56 | if ( function_exists( 'get_sites' ) ) { |
| 57 | foreach ( get_sites() as $matomo_site ) { |
| 58 | /** @var WP_Site $matomo_site */ |
| 59 | switch_to_blog( $matomo_site->blog_id ); |
| 60 | if ( function_exists( 'is_plugin_active' ) && is_plugin_active( 'matomo/matomo.php' ) ) { |
| 61 | echo '<li><a href="' . esc_url( admin_url( 'admin.php?page=matomo-reporting' ) ) . '">' . esc_html( $matomo_site->blogname ) . ' (Site ID: ' . esc_html( $matomo_site->blog_id ) . ')</a></li>'; |
| 62 | } |
| 63 | restore_current_blog(); |
| 64 | } |
| 65 | } |
| 66 | ?> |
| 67 | </ul> |
| 68 |