# jetpack/16.3-a.7/modules/wordads/php/class-wordads-premium-analytics.php

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 16.3-a.7. 40 lines.

- Page: https://pluginprobe.com/plugins/jetpack/16.3-a.7/code/modules/wordads/php/class-wordads-premium-analytics.php
- Raw: https://pluginprobe.com/plugins/jetpack/16.3-a.7/raw/modules/wordads/php/class-wordads-premium-analytics.php
- Modified: 2026-09-29T17:47:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/16.3-a.7/code/modules/wordads/php/class-wordads-premium-analytics.php#L10-L20`.

```php
<?php
/**
 * The Ads section of the Premium Analytics dashboard, on sites that run the WordAds module.
 *
 * @package automattic/jetpack
 */

use Automattic\Jetpack\Status\Host;
use Automattic\Jetpack\WordAds\Analytics_Dashboard;

/**
 * Hands the Ads section and its widget types to the Premium Analytics dashboard.
 *
 * The section, its layout and the widgets live in the jetpack-ads package; this class decides
 * that a site running the module gets them. On the WordPress.com platform jetpack-mu-wpcom decides,
 * by plan feature and WordAds being on, and this registrant stays out.
 *
 * @since 16.3
 */
class WordAds_Premium_Analytics {

	/**
	 * Hook the package's registrants on the dashboard's registry actions.
	 *
	 * @return void
	 */
	public static function init() {
		// Simple and Atomic decide by plan feature and WordAds being on, from jetpack-mu-wpcom.
		if ( ( new Host() )->is_wpcom_platform() ) {
			return;
		}

		if ( ! class_exists( Analytics_Dashboard::class ) ) {
			return;
		}

		Analytics_Dashboard::init();
	}
}

```
