WP Consent API - Accelerate Documentation

WP Consent API

Accelerate supports the WP Consent API. Cookie and compliance plugins that support the API can communicate consent status to Accelerate.

The WP Consent API ecosystem includes plugins such as:

Implementation expectation#

When a compatible plugin is present, Accelerate reads consent state through WP Consent API instead of trying to own the consent UI itself.

Accelerate can detect when WP Cookie Consent is enabled. This behavior can be overridden with the altis.analytics.consent_enable filter.

Accelerate loads and processes web statistics analytics when WP Cookie Consent 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.

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