Widget per form?

What is the name of the domain?

localhost

What is the issue you’re encountering

Widget use

What steps have you taken to resolve the issue?

The docs state that 10 widgets are allowed. I assume a “widget” means a site key + secret key.

Suppose my site has various pages with forms: register, forgot password, change password, change email, etc. I want a captcha for each such form.

  1. Must I create one widget per form? Or can I use the same widget for all forms?

  2. When I created a widget I used example.com (actual domain) and localhost (for development). I assume my stats would be muddled. Is it recommended to create a separate widget just for development?

Might not work on localhost (XAMPP) development.
I’d suggest using a real domain name, otherwise some testing sub-domain such as development.example.com.

You can use “labels” to identify each of them until we get some better Analytics & Insights to see on which hostname(s) or even path(s) we’ve used the widget and more.

One “widget” (site key + secret key) can be used on multiple (sub)domains (hostnames), therefrom I’ve tested up to 10 different forms on a single domain and all fired and worked.

You can use the same, if it fits the limits of 10 hostnames per widget and up to 10 widgets per CF account - as stated from the docs (except if you’re not on an Enterprise Turnstile plan with custom limits).

If you have got room, separate, use a different widget for development and testing with both hostnames (or a different one staging.example.com).

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.