Cloudflare Integration
Analytics · Turnstile CAPTCHA · Workers API
Cloudflare Web AnalyticsDashboard
Paste your Cloudflare Web Analytics beacon token (the value inside the src URL of the snippet).
Note: The beacon script is already loaded in
index.html. After saving your token here, also replace REPLACE_WITH_YOUR_CF_ANALYTICS_TOKEN in index.html with your actual token for permanent activation. Cloudflare Turnstile (CAPTCHA)Dashboard
Enter your Turnstile Site Key (public key from the Cloudflare Turnstile dashboard). The Secret Key should be stored as a backend environment variable.
How to use in forms: Import
TurnstileWidget from @/components/cloudflare/TurnstileWidget and add it before your submit button. Only allow form submission when a verified token is returned via onVerify. Cloudflare WorkersDashboard
Connect to any Cloudflare Worker. The backend function callCloudflareWorker proxies all calls securely.
Test Worker Call
From your app code: Call Workers via
base44.functions.invoke('callCloudflareWorker', { workerUrl, path, method, body })