Hey @josssv
Thank you for reporting this. Before offering any workaround, we need to understand why it’s happening. I’m not familiar with the CookieYes platform, could you share more details about your current setup? Any particular plugin we require to test this on our end? The more details you can provide the better.
Thanks.
Thread Starter
josssv
(@josssv)
Hi Jonathan,
In a nutshell, my current set up has not changed for quite long time. Only when I activated GCM in CookieYes, the forms stopped working. I cannot upload here some screenshots I took. Nonetheless, if you want to configure a similar set up, you would just need CookieYes and Formidable plugin. The form should have a reCAPTCHA. When you activate GCM in CookieYes, by default, all cookies except the necessary ones are rejected. Only if the end-user accepts all cookies, concretely advertising cookies, then the forms will work. Otherwise, they won’t.
I could privately share the link to the website if you prefer and, I could activate, for a short time, the GCM so you could experience it yourself. To do the later, we would need to agree certain day and time range, as the forms will be down during that period in a live website.
You can also read similar issues in here:https://ww.wp.xz.cn/support/topic/recaptcha-v2-does-not-work-after-set-up-cookieyes/
https://ww.wp.xz.cn/support/topic/recaptcha-not-loading-5/
Another interesting source to look at is the following:
https://developers.google.com/recaptcha/docs/faq#does-recaptcha-use-cookies
Does reCAPTCHA use cookies?reCAPTCHA sets a necessary cookie (_GRECAPTCHA) when executed for the purpose of providing its risk analysis. If you prefer to not use the http://www.google.com domain which may have other cookies set, you can use http://www.recaptcha.net instead.
I did not see any option in formidable forms to change the domain.
-
This reply was modified 1 year, 5 months ago by
josssv.
Thank @josssv
I’ve been trying to replicate the behavior on our test site, but so far no luck. I’m probably missing a setting somewhere. Could you share the link by creating a new ticket here https://formidableforms.com/new-topic/?
Thread Starter
josssv
(@josssv)
Thanks Jonathan! Sure, I will do that.
It is now done (2024-12-12, 17:16 CET), having the same subject name as this discussion.
-
This reply was modified 1 year, 5 months ago by
josssv.
Our dev team has provided a code snippet that changes the URL of the reCAPTCHA to http://www.recaptcha.net.
add_filter(
'frm_recaptcha_js_url',
function ( $url ) {
$url = str_replace( 'www.google.com', 'www.recaptcha.net', $url );
return $url;
}
);
For more information on how to add the code, please refer to our documentation at this link: https://formidableforms.com/knowledgebase/formidable-hooks/#kb-where-to-put-the-code
Thread Starter
josssv
(@josssv)
Thank you for the quick support Jonathan!