logo

Building secure websites: a guide to Cloudflare Pages and Turnstile Plugin

ID: c984a37f-5414-5154-8367-4a95f3f87e96

STIX ID: report--c984a37f-5414-5154-8367-4a95f3f87e96

Feed Name: Cloudflare Blog

Date Published: 2024-03-07

Date Updated: 2026-04-27

Author: Sally Lee

...
...

This tutorial demonstrates how to deploy a site on Cloudflare Pages and secure form submissions against bots using Cloudflare Turnstile, including explicitly rendering the widget, validating tokens server-side with the @cloudflare/pages-plugin-turnstile and the /siteverify API, and reviewing Turnstile analytics (Visitor/API Solve Rates and traffic) for bot detection insights. It also provides guidance on widget modes (managed, invisible), domain configuration, pre-clearance, and includes sample HTML/JS and a Pages Function handler.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.