• Resolved josssv

    (@josssv)


    Hi!

    I recently activated GCM in CookieYes and I realized that the form returns an error when with the reCAPTCHA v3 is used. Error: “The captcha is missing from this form”. While the knowledgebase indicates that this is a Java problem (https://formidableforms.com/knowledgebase/recaptcha/), I think it is not.

    Reading through few discussions, it seems that the cookie ID NID, which belongs to advertising, is THE problem despite the cookies rc::a and rc::c are within the “necessary” and are, therefore, accepted.

    Either the visitor accepts “advertising” cookies, or the forms do not work when reCAPTCHA v3 is there. As a temporal work around, I deactivated GCM, but that cannot be the final solution. Any work around?

    • This topic was modified 1 year, 5 months ago by josssv.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Jonathan Martínez

    (@jonathanenlared)

    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.
    Plugin Support Jonathan Martínez

    (@jonathanenlared)

    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.
    Plugin Support Jonathan Martínez

    (@jonathanenlared)

    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!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Google Consent Mode and reCAPTCHA problem’ is closed to new replies.