WP Consent API

Accelerate supports the WP Consent API, the WordPress standard for sharing consent status between plugins. If you already use a consent banner from the list below, Accelerate works with it out of the box — no extra configuration needed.

The WP Consent API ecosystem includes plugins such as:

How the integration works#

When a compatible plugin is present, Accelerate reads consent state through the WP Consent API instead of trying to own the consent UI itself. You keep your existing consent banner; Accelerate simply respects what it says.

Accelerate detects automatically whether the WP Consent API is active. This detection can be overridden with the altis.analytics.consent_enabled filter.

Accelerate loads and processes analytics when the visitor has allowed the statistics or statistics-anonymous categories.

By default, Accelerate treats these categories as always allowed:

  • functional
  • statistics-anonymous

Override that list with the altis.consent.always_allow_categories filter when a site needs stricter explicit opt-in behavior.

See GDPR and Privacy for the data collection model and consent category behavior.