Skip to content

Commit 82c26bf

Browse files
authored
Update README.md
1 parent 7ca6d29 commit 82c26bf

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,23 +223,22 @@ If you manually assign a value to setScore($score), the code will fully skip you
223223

224224
### Display reCAPTCHA v3
225225

226-
#### Blade for Background (optional)
227-
228-
It's recommended to include reCAPTCHA v3 on every page which can help you get the most context about interactions for analytics.
226+
#### Add Google API script
229227

230-
In your main homepage or layout page, put the following script:
228+
Include the API script in your layout or global page.
231229

232230
``` html
233231
{!! GoogleReCaptchaV3::init() !!}
234232
```
235233

234+
#### Blade for Background (optional)
236235

237-
You can also set the background reCAPTCHA as hidden or visible(bottomright):
236+
It's recommended to include reCAPTCHA v3 on every page which can help you get the most context about interactions for analytics.
238237

239238
``` php
240239
...
241-
'background_badge_display' => true, // if false, the badge will be invisible.
242-
'background_mode' => false, // if true, the script will run on every page if you put init() on the global page
240+
'background_badge_display' => true, // if false, the badge will be invisible, if true the badge shows at bottom right.
241+
'background_mode' => false, // if true, the script will run on every page (ensure that GoogleReCaptchaV3::init() is placed on layout or homepage)
243242
...
244243
```
245244

0 commit comments

Comments
 (0)