access.php
6 years ago
advanced_settings.php
5 years ago
exclusion_settings.php
6 years ago
geolocation_settings.php
6 years ago
get_started.php
6 years ago
info.php
5 years ago
info_bug_report.php
6 years ago
info_help.php
5 years ago
info_high_traffic.php
6 years ago
info_multisite.php
6 years ago
info_newsletter.php
6 years ago
info_shared.php
6 years ago
marketplace.php
5 years ago
privacy_gdpr.php
5 years ago
settings.php
6 years ago
summary.php
5 years ago
systemreport.php
6 years ago
tracking.php
5 years ago
update_notice_clear_cache.php
6 years ago
info_multisite.php
69 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 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | exit; |
| 11 | } |
| 12 | |
| 13 | /** @var \WpMatomo\Settings $settings */ |
| 14 | ?> |
| 15 | |
| 16 | <div class="wrap"> |
| 17 | <div id="icon-plugins" class="icon32"></div> |
| 18 | <h1><?php esc_html_e( 'Matomo Analytics in Multi Site mode', 'matomo' ); ?></h1> |
| 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 blogs.', 'matomo' ); ?> |
| 23 | <?php esc_html_e( 'An administrator of a blog cannot view or change these settings.', 'matomo' ); ?> |
| 24 | <br/><br/> |
| 25 | <?php esc_html_e( 'The privacy settings have to be configured per blog 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 blog. They cannot be managed in one central place for all blogs. 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 | __( |
| 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$sWP-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 blogs', '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) . ' (Blog ID: ' . esc_html($matomo_site->blog_id) . ')</a></li>'; |
| 62 | } |
| 63 | restore_current_blog(); |
| 64 | } |
| 65 | } |
| 66 | ?> |
| 67 | </ul> |
| 68 | </div> |
| 69 |