google_recaptcha
Differences
This shows you the differences between two versions of the page.
| google_recaptcha [2023/01/09 04:02] – created admin | google_recaptcha [2026/03/21 10:11] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Google ReCaptcha ====== | ====== Google ReCaptcha ====== | ||
| - | It' | + | Google reCAPTCHA is a convenient alternative to traditional CAPTCHA for verifying visitors. Here' |
| - | Here's how to implement it | + | 1. Visit https:// |
| + | - reCAPTCHA V3 Site Key | ||
| + | - reCAPTCHA V3 Secret Key | ||
| - | 1. Open https:// | + | 2. Enter these values in Rotation > Settings > Social, and enable "Use Captcha on Comments?" |
| - | Recaptcha V3 Site key | + | ===== reCAPTCHA for comments ===== |
| - | Recaptcha V3 Secret key | + | |
| - | 2. Add those codes to Rotation - Settings - Social | + | reCAPTCHA works by adding |
| - | + | ||
| - | + | ||
| - | ===== Recaptcha for comments ===== | + | |
| - | + | ||
| - | Google | + | |
| - | + | ||
| - | Here's an example for comments | + | |
| < | < | ||
| Line 40: | Line 34: | ||
| </ | </ | ||
| - | take a look at those tags < | + | Note that < |
| - | comments | + | Here's the comment |
| < | < | ||
| Line 50: | Line 44: | ||
| <FORM name=" | <FORM name=" | ||
| <input type=" | <input type=" | ||
| - | <input type=" | + | <input type=" |
| < | < | ||
| Line 57: | Line 51: | ||
| < | < | ||
| - | <input type=button value=' | + | <input type=button value=' |
| </ | </ | ||
| Line 65: | Line 59: | ||
| - | ===== Recaptcha Anticheat===== | ||
| - | There' | + | ===== reCAPTCHA Anticheat ===== |
| - | At any page (in most cases that would be an index page) you have to add | + | reCAPTCHA can also be used to monitor traffic quality. Google analyzes traffic and reports the percentage it considers legitimate (non-bot). |
| + | Add the following code to your site (typically on index and category pages): | ||
| < | < | ||
| Line 121: | Line 115: | ||
| - | you have to add "class=' | + | Add class=' |
| Line 130: | Line 124: | ||
| </ | </ | ||
| - | Of course you can replace gallery_link, the idea is to call Google JS each time a user clicks a link | + | You can replace gallery_link |
| + | 4. In the admin panel, go to Settings > Layouts and enable the Google reCAPTCHA column. | ||
| - | Then you have to go to **Settings - layouts** | + | Now you can view the percentage of legitimate traffic in Trade > reCAPTCHA |
| - | That's it, in an hour take a look at the column | + | **Note:** Google allows only 1300 free checks per hour, so not all hits are analyzed—they' |
| - | PS Note that free amount is 1300 hits \ hour so we dont check each hit, but a part of it (RECAPTCHA_MAX_RATE), | ||
google_recaptcha.1673236952.txt.gz · Last modified: by admin
