Set Up reCAPTCHA for Your Messaging Deployments
Protect your messaging deployment from spam bots using reCAPTCHA verification. Learn more about reCAPTCHA. This feature is available only for API and Web customers—not yet for Mobile.
- Enable reCAPTCHA for your deployments by following the steps detailed in the Adding reCAPTCHA to Your Messaging Deployment page.
- Follow Google's reCAPTCHA v3 page to implement the client side. For
siteKey
, ensure you add the correct site key you got from step 1 for this messaging deployment. - Add the client generated reCAPTCHA token using the
captchaToken
property for both authenticated and unauthenticated users.
Troubleshoot common errors when setting up reCAPTCHA.
This error is shown on the chat button.
- Navigate to reCAPTCHA admin site.
- Select the reCAPTCHA site you configured.
- Click on the gear icon to go to the settings page.
- Under Domains, verify that the correct domain name of your parent website is displayed. For example, for the website
https://abc.xyz/ab/bc
, you addabc.xyz
as the domain name. - Click Save.
Reload your website.