Social Logins and Sharing

Setup Cloudflare Captcha

9min

Overview & Overview

Turnstile (Cloudflare Captcha) is designed to protect your website from bots and spam by verifying user interactions without disrupting genuine visitors. Unlike traditional CAPTCHAs, Turnstile eliminates frustrating challenges (like selecting images) and uses advanced, non-intrusive methods to assess user behavior.

OnPrintShop’s integration with Cloudflare Turnstile combines advanced bot protection with a seamless user experience, making it ideal for businesses focused on security, privacy, and customer satisfaction. By enabling Turnstile, print service providers can safeguard their platform while maintaining an intuitive and efficient workflow for genuine users.

How to integrate

Read the below a systematic guide to integrate Cloudflare CAPTCHA on your website.

1. Register with Cloudflare CAPTCHA

Document image

  • Log in with your any existing Google Account or Apple Account or create a new account.

2. Get the Sitekey and Secret Key

  • On your Cloudflare dashboard click on the “Turnstile” menu from the left navigation panel and then click on the Add Widget:
Document image

  • This will take you to the Add Widget page:
Document image

  • Fill out the site name and your website's hostname or select from your existing websites on Cloudflare and select the widget mode.
  • (Optional) Opt in for pre-clearance support if required and then click on the Create button.
Document image

  • Copy your sitekey and secret key.

For the existing widgets

From the Widget Overview, click on the Settings and on the Manage Widget page copy the keys:

Document image


3. Add Site key and Secret Key into your Admin Panel

For the configuration in the admin panel, go to the Admin Panel > Store Configurations > External Service Settings > Social Sharing > Captcha > ‘Action’ Menu > ‘Edit’ Option:

Document image

  • Select Captcha Type as Cloudflare.
  • From the Display/Enable Captcha for drop-down, select the instances where the captcha should be displayed i.e. None, Only Front, Only Admin or Both.
  • Paste the Site key and Secret key.
  • Save the changes made.

4. Cloudflare CAPTCHA on the Front End

After integration, when the customers or admin tries to signup/login, the Cloudlfare will verify the user interactions without disrupting genuine visitors:

Document image