You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`recaptcha-text`|**Type**: `string`<br />**Default value**: `This form is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" target="_blank" rel="noopener noreferrer">Privacy Policy</a> and <a href="https://policies.google.com/terms" target="_blank" rel="noopener noreferrer">Terms of Service</a> apply.`<br /><br />Text displayed in the footer when reCAPTCHA is enabled. Supports HTML. |
40
41
|`sessionId`|**Type**: `string`<br />**Default value**: Autogenerated <br /><br /> Identifies the current user session. By default, this value is autogenerated if not provided. You can override it to specify a custom session ID, which can be useful for tracking or linking specific sessions across different analytics tools. |
41
42
|`submit`|**Type**: `boolean`<br />**Default**: `false`<br /><br />If set to `true`, submits feedback automatically without opening the modal, using the provided `rating` value. If not set, the default rating of `0` (negative feedback) is sent. |
42
43
|`privacy-policy-text`|**Type**: `string`<br />**Default value**: `I have read and expressly consent to the terms of the <a href='https://pushfeedback.com/privacy'>Privacy Policy</a>.`<br /><br />Privacy policy text. |
Copy file name to clipboardExpand all lines: docs/customization/text.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The table below lists all the available properties you can override:
31
31
|`modal-title-error-4-0-4`|**Type**: `string`<br />**Default value**: `We could not find the provided project id in PushFeedback.`<br />Message displayed when there's a 404 error submitting feedback.<br /><br />|
32
32
|`email-placeholder`|**Type**: `string`<br />**Default value**: `Email address (optional)`<br />Placeholder text for the email input field.<br /><br /> |
33
33
|`footer-text`|**Type**: `string`<br />**Default**: `""`<br /><br />Optional footer text displayed after "Powered by Pushfeedback.com". |
34
-
|`message-placeholder`|**Type**: `string`<br />**Default value**: `Comments`<br />Placeholder for the feedback message input.<br /><br />|
34
+
|`message-placeholder`|**Type**: `string`<br />**Default value**: `Share your thoughts...`<br />Placeholder for the feedback message input.<br /><br />|
35
35
|`modal-title`|**Type**: `string`<br />**Default value**: `Share your feedback`<br />Title of the feedback modal.<br /><br /> |
36
36
|`modal-title-error`|**Type**: `string`<br />**Default value**: `Oops!`<br />Title displayed when there's an error submitting feedback.<br /><br />|
37
37
|`modal-title-success`|**Type**: `string`<br />**Default value**: `Thanks for your feedback!`<br />Title displayed upon successful feedback submission.<br /><br />|
Copy file name to clipboardExpand all lines: docs/security/recaptcha.md
+17-18Lines changed: 17 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,19 +9,19 @@ Add invisible bot protection to your feedback widget with Google reCAPTCHA v3. I
9
9
10
10
## Get your reCAPTCHA keys
11
11
12
-
1. Visit the [reCAPTCHA Admin Console](https://www.google.com/recaptcha/admin) and sign in
13
-
2. Click **+** to register a new site
14
-
3. Select **reCAPTCHA v3** as the type
15
-
4. Add your domain(s) without `https://` (e.g., `docs.example.com`)
16
-
5. Submit and copy both the **Site Key** and **Secret Key**
12
+
1. Visit the [reCAPTCHA Admin Console](https://www.google.com/recaptcha/admin) and sign in.
13
+
2. Click **+** to register a new site.
14
+
3. Select **reCAPTCHA v3** as the type.
15
+
4. Add your domain(s) without `https://` (e.g., `docs.example.com`).
16
+
5. Submit and copy both the **Site Key** and **Secret Key**.
17
17
18
18
## Enable in your project
19
19
20
-
1. Go to your project in the [PushFeedback dashboard](https://app.pushfeedback.com)
21
-
2. Click **Settings** and find the **Security** section
22
-
3. Enable reCAPTCHA v3 and paste both keys
23
-
4. Set the minimum score (default 0.5 works for most sites)
24
-
5. Save
20
+
1. Go to your project in the [PushFeedback dashboard](https://app.pushfeedback.com).
21
+
2. Click **Settings** and find the **Security** section.
22
+
3. Enable reCAPTCHA v3 and paste both keys.
23
+
4. Set the minimum score (default 0.5 works for most sites).
24
+
5. Save.
25
25
26
26
Your widget will now verify submissions automatically. No code changes needed.
27
27
@@ -34,17 +34,16 @@ reCAPTCHA scores range from 0.0 (bot) to 1.0 (human). Start with 0.5 and adjust:
34
34
35
35
## Notes
36
36
37
-
- Your secret key is encrypted before storage
38
-
- HTTPS is required (localhost works for testing)
39
-
- Users won't see any difference (reCAPTCHA v3 is invisible)
37
+
- Your secret key is encrypted before storage.
38
+
- HTTPS is required (localhost works for testing).
39
+
- The reCAPTCHA badge is hidden, and the required Google disclosure text is automatically displayed in the widget footer.
40
+
- You can customize the disclosure text using the `recaptchaText` prop (see [Layout customization](../customization/layout)).
40
41
41
42
## Troubleshooting
42
43
43
-
**"reCAPTCHA verification required"** - Ad blockers or privacy extensions may be blocking the script. Ask users to disable them temporarily.
44
+
-**"reCAPTCHA verification required"** - Ad blockers or privacy extensions may be blocking the script. Ask users to disable them temporarily.
44
45
45
-
**"reCAPTCHA verification failed"** - Check your keys are correct and your domain is registered in Google's console. If legitimate users are blocked, lower your score threshold.
46
+
-**"reCAPTCHA verification failed"** - Check your keys are correct and your domain is registered in Google's console. If legitimate users are blocked, lower your score threshold.
46
47
47
-
**General issues** - Verify you selected reCAPTCHA v3 (not v2) and both keys are from the same site registration.
48
-
49
-
---
48
+
-**General issues** - Verify you selected reCAPTCHA v3 (not v2) and both keys are from the same site registration.
0 commit comments