Appearance
How to Integrate reCAPTCHA
Last update: 02 Nov 2024
Follow the steps below to enable Google reCAPTCHA in Optimer.
Step 1: Create a reCAPTCHA
Visit the Google reCAPTCHA console and create a reCAPTCHA v2 Checkbox.
Copy the following credentials:
- Site Key
- Secret Key

Step 2: Configure reCAPTCHA from the Admin Panel
Log in to your Optimer Admin Panel and navigate to:
Settings -> General Settings -> Webtools and Google Configuration Settings
Enter your:
- Site Key
- Secret Key
Enable reCAPTCHA, then click Update Changes.

Step 3: Configure reCAPTCHA Using the .env File (Optional)
Open your project's .env file and update the Site Key and Secret Key values.
Save the file after making the changes.

Step 4: Disable reCAPTCHA (Optional)
If you don't want to use Google reCAPTCHA, navigate to:
Settings -> General Settings -> Webtools and Google Configuration Settings
Set reCAPTCHA Enable to OFF, then save your changes.

