Try our conversational search powered by Generative AI!

Recptcha not work in China


Currently, Recaptcha has been implemented in forms element and it is working.

However, we found recaptcha is not working in China

because recaptcha is using Google API service which is blocked by Chinese policy.

is it possible to replace like below?

use "" in your code in circumstances when "" is not accessible.

but we can't find the place to replace it, could you help suggst on it? thanks.

May 17, 2021 7:46

I think you can use this url to provide feature request & feedback:

Hope it helps !

May 18, 2021 7:59

Hello Simon

It is worth bearing in mind that Forms can be personalised using visitor groups. So you could set up a visitor group to check if a user is in China. If they are not in China then do not show the Recapcha.


May 18, 2021 10:09
Simon - May 24, 2021 8:55
if user not login to EPI server, how do visitor group know customer's country.
David Knipe - May 24, 2021 9:15
Hello Simon, the Geographic Location visitor group uses an IP look up database to work out what country someone is in:

Actually, My action is to replace domain from "" to "" when page load is done using JavaScript

May 19, 2021 2:14

Also worth noting the Episerver.Forms.Samples (which includes the recaptcha form element) is available on GitHub here:

You could try to create your own version of the recaptcha element that doesn't use Google. It's possible the only update necessary is to the RecaptchaVerifyBaseUrl value here:  (but I haven't tested at all.)

Then either use the new version of the recaptcha for everyone, or just for China users via Visitor Group personalization like David said.

May 28, 2021 16:44

Following the conversation, hcaptcha is a very decent tool to replace recaptcha: and was adopted by Cloudflare:

With visitor groups, it might be possible to offer hcaptcha to Chinese users without changing the user experience for visitors outside China

Jun 01, 2021 10:11
Simon - Jun 01, 2021 10:24
thank you, we will look into hcaptcha and try it firstly
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.