Download the PHP package automattic/jetpack-premium-analytics without Composer
On this page you can find all versions of the php package automattic/jetpack-premium-analytics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download automattic/jetpack-premium-analytics
More information about automattic/jetpack-premium-analytics
Files in automattic/jetpack-premium-analytics
Package jetpack-premium-analytics
Short Description Premium Analytics dashboard for Jetpack sites.
License GPL-2.0-or-later
Informations about the package jetpack-premium-analytics
Jetpack Premium Analytics
A portable analytics dashboard for WordPress sites with Jetpack connection. Renders as an SPA inside wp-admin using route-based code splitting.
How it works
Boot mounts inside the standard admin chrome; routes are discovered at
build time from package.json metadata.
The generated full-page variant is disabled; only the registered, capability-gated admin page serves the dashboard.
Documentation
- Dashboard sections: how a section is registered, filtered, served to the client and rendered, and how another plugin registers one.
- Dashboard widget types: how a widget type is registered, filtered, served to the client and imported, and how another plugin registers one.
Requirements
- PHP >= 7.4
- WordPress core or Jetpack's wp-build polyfills provide the WordPress script handles/modules used by the dashboard. The Gutenberg plugin is not required.
Development
Adding a route
-
Create
routes/<name>/package.json: -
Create
routes/<name>/stage.tsxexportingstage(): - Rebuild — routes are auto-discovered from
package.jsonmetadata.
Known issues
Boot asset shim
@wordpress/build 0.10+ stopped bundling @wordpress/boot locally,
but the generated page.php template still looks for
modules/boot/index.min.asset.php to resolve classic script
prerequisites. Without it the page is blank.
Package automattic/jetpack-wp-build-polyfills provides a fixed version.
Init module (packages/init/)
Serves two purposes:
- Sets the dashboard menu icon via
@wordpress/bootstore - Forces
@wordpress/buildto track@wordpress/bootas a module dependency — without an init module that imports boot, the build skips it
File structure
All versions of jetpack-premium-analytics with dependencies
automattic/jetpack-admin-ui Version ^0.14.3
automattic/jetpack-assets Version ^5.0.8
automattic/jetpack-config Version ^4.0.0
automattic/jetpack-connection Version ^9.9.0
automattic/jetpack-feature-flags Version ^0.2.0
automattic/jetpack-stats Version ^0.22.1
automattic/jetpack-status Version ^7.1.0
automattic/jetpack-sync Version ^5.4.0
automattic/jetpack-wp-build-polyfills Version ^0.6.1
automattic/woocommerce-analytics Version ^0.18