WordPress integration

Cookie consent for WordPress, connected to one Lean dashboard.

The Lean Cookie Consent plugin is a focused WordPress connector. You configure one Site Key, while banner copy, categories, preferences and consent evidence are managed in Lean Cookie Consent.

View the official WordPress.org plugin

What the connector does

Uses a Site Key

An administrator enters the Site Key for an already configured Lean site. The connector does not create or link accounts.

Loads a bundled local runtime

The plugin enqueues its bundled runtime on the frontend. It retrieves public, site-specific configuration data from Lean.

Keeps configuration central

Banner layout, copy, categories, services and policy links are configured from the Lean dashboard rather than in multiple WordPress options.

Installation and setup

  1. Create a Lean account and site.
    Set up the website in Lean Cookie Consent and obtain its Site Key.
  2. Install the official plugin.
    Install Lean Cookie Consent from WordPress.org or upload the official release package.
  3. Enter the Site Key.
    Open the Lean Cookie Consent settings screen in WordPress, paste the Site Key and save.
  4. Check the public site.
    Verify banner rendering, accept/reject/preferences and any consent-aware analytics or marketing setup in a fresh browser session.

Technical boundaries to understand

Configuration is data, not arbitrary executable content.

The official plugin describes a bundled local runtime and public configuration API. It does not offer arbitrary JavaScript, HTML or CSS injection fields. A valid Site Key is required for live Lean configuration and consent recording.

Consent tooling is only one part of a compliant implementation. Theme code, plugins and tag managers must also be configured so that non-essential services respect the chosen consent flow.

Documentation and next steps

Performance evidence

Review the benchmark methodology and configuration caveats before making performance claims.

Open the benchmark

Agency workflow

See how a site-based dashboard supports repeated client handoffs.

For agencies

FAQ

Does the WordPress plugin create a Lean account?

No. Create an account and site in Lean first, then enter its Site Key in WordPress.

Does the plugin allow arbitrary JavaScript injection?

No. It uses a bundled local runtime and public configuration data; it has no arbitrary JavaScript, HTML or CSS injection fields.

Can every WordPress site use the same configuration?

Each Lean site has its own Site Key and configuration. Agencies can manage several configured sites from the Lean workflow.