Skip to content

Works with your stack

Cookie consent for hCaptcha for WordPress

the captcha after a yes

← Cookie Rocks for your stack

hCaptcha for WordPress protects forms with hCaptcha. Its script loads from hcaptcha.com, which sets its own cookies. The plugin has an official way to wait for consent, and from Cookie Rocks 2.11.7 the captcha starts the moment the visitor accepts, on the same page.

By hCaptcha · hcaptcha.com · WordPress.org

Is this your product? Tell us if anything here is out of date. Write to us

What matters for consent with hCaptcha for WordPress

What hCaptcha loads

The plugin loads the hCaptcha script from js.hcaptcha.com. hCaptcha’s own servers can set __cflb and hmt_id, which it classes as strictly necessary. The plugin also keeps a form token in session storage, under a name that begins with hcaptcha-fst-token, for the page it was issued on. Cookie Rocks lists it with hCaptcha.

An official way to wait

The plugin’s maintainer documents a filter, hcap_delay_api_event, so a consent tool can start hCaptcha with its own event once the visitor agrees (November 2026). Cookie Rocks 2.11.7 uses it, and removes the early connection hint to hcaptcha.com until consent.

Our test

On a test site with hCaptcha for WordPress 5.5.0 and the Cookie Rocks 2.11.7 beta: nothing reached hcaptcha.com before the choice or after Reject all. After Accept all, the captcha started on the same page without a reload, and on the next page.

Cookie Rocks today

Earlier test versions of 2.11.7 held the plugin’s own loader as well, so the captcha did not start after Accept all. The stable 2.11.7 fixed it.

If the visitor refuses

A form that requires hCaptcha cannot be sent without it. Cookie Rocks shows a short request above the form, so the visitor can allow hCaptcha there and keep what they typed.

Questions

Is hCaptcha necessary?

It protects your forms, but it loads from another company’s servers. In countries that ask for consent first, Cookie Rocks holds it until the visitor agrees, and shows the request on the form.

What happens after the 30-day trial?

The banner, your visitors’ choices and your proofs of consent keep working. Without a key, most settings lock, updates and support stop. Take a key at any time and everything opens again.

For sites with hCaptcha

Forms protected, after a yes.

the captcha after a yes

Every feature of the complete plugin for 30 days, no card. hCaptcha for WordPress keeps working as it does today.

  • During the trial: everything, including the full settings and the scans
  • After 30 days without a key: the banner, your visitors’ choices and your proofs of consent keep working
  • What waits for a key: most settings, updates and support

How the trial works, in detail

Cookie Rocks

Get your trial key

Your e-mail and your site. Your key arrives as soon as you confirm your e-mail.

One trial per domain. Local and staging sites never use up your key.

We keep your e-mail address to send your key and help you with it, as explained in our privacy policy. No newsletter, nothing else.