Turnstile widget not showing

Hello,

I configured the Turnstile widget to add secret to my website, and I placed the Turnstile script snippet in your HTML’s <head> element.

And after I did this new users are no longer automatically logged in after registration and also new users aren’t given a Cloudflare challenge.

I placed the script in my header file, and it still doesn’t work, how can I delete the Turnstile widget safely?

<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>

Remove the script tag that you added. It should work as it was before. However, did you check the Turnstile integration? It is also possible you might have missed some steps. Check this doc:

Hi Neijay,

Thanks for getting back to me, I did miss a step, I didn’t add the script on the Client side, where else would I insert this script? On my registration form?

FYI, I am using a custom Elementor registration form

Thanks!

Thanks

I’m not certain about it how that would function. However, as long as the scripts are placed correct, there shouldn’t be any issue as such. You can check the sample code and the deployment here:

https://demo.turnstile.workers.dev/

Hi neijay,

Where would I insert this code?

Where the form is. It is usually set at the bottom of the form. (accordingly)

Hello, thank you I will try that.