Skip to main content

Overview

Burst Statistics registers a burst command group with WP-CLI, the command-line interface for WordPress. Use it to manage settings, goals and data in automated deployment pipelines, staging environments and CI workflows without touching the admin dashboard.

Requirements

  • WP-CLI 2.x or later
  • PHP 7.4 or later
  • WordPress 5.5 or later
  • Burst Statistics (Free or Pro) installed and active

Installing WP-CLI

If WP-CLI is not already available on your server, follow the official installation guide. Most managed hosting environments include WP-CLI by default; check your host's documentation.

Quick install on Linux / macOS:

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp

Verify:

wp --info

Command syntax

All Burst commands follow the standard WP-CLI pattern:

wp burst <command> [<args>] [--<assoc_arg>=<value> ...]

Command reference

CommandDescriptionFree / Pro
add_goalAdd a new conversion goalFree
saveUpdate one or more plugin optionsFree
install_demo_dataPopulate the database with demo statisticsFree
reset_dataDelete all statistics data and reset to defaultsFree
activate_licenseActivate a Burst Pro license keyPro
deactivate_licenseDeactivate a Burst Pro license keyPro
unzipExtract a ZIP archive using the WordPress Filesystem APIFree
send_test_telemetrySend a test telemetry payload (test environments only)Free
get_internal_linksOutput all internal admin URLs found in the source (test environments only)Free

Useful global flags

These are standard WP-CLI flags that work with all wp burst commands:

FlagDescription
--path=<path>Path to the WordPress installation. Useful when running WP-CLI outside the webroot
--url=<url>Site URL. Required on multisite to target a specific subsite
--user=<user>Run the command as a specific WordPress user (ID, login or email)
--quietSuppress informational output. Useful in deployment scripts where only errors matter
--format=jsonReturn output as JSON where supported
--skip-pluginsLoad WordPress without activating plugins. Use with care — Burst commands require Burst to be active

Further reading