-
AuthorPosts
-
December 2, 2024 at 11:52 am #1472697
Hi –
I’m trying to enable reCAPTCHA on a contact form. I’ve created V2 and V3 keys and entered them under Theme Options\Google Services, and the check buttons return “Last time we checked we were able to connected to Google reCAPTCHA with your API keys”, but when I enable either V2 or V3 reCAPTCHA in my form, the page shows “This contact form is deactivated because you refused to accept Google reCaptcha service which is necessary to validate any messages sent by the form”. What am I missing?
Many thanks – AshleyDecember 3, 2024 at 5:15 am #1472756Hey ashleyknow,
Thank you for the inquiry.
Did you enable Privacy and Cookies > Cookie Handling > Enable cookie consent messages? Please note that when the cookie consent form is enabled, all external services, including reCAPTCHA, will be disabled by default until the user gives their consent. You can change this behavior by adjusting the Default Cookie Behaviour to the first or second option.
Best regards,
IsmaelDecember 3, 2024 at 12:10 pm #1472778Hi Ismael –
Thanks for the quick reply. Yes, I did have the cookie consent message enabled, but your comment prompted me to try deleting the cookies on my browser, and that worked. However, by experimenting with different ways of accessing the site, I found that this only works if the user accepts cookies after reCAPTCHA is enabled and before opening the contact form – if you navigate to the contact form and then accept cookies, or if you accepted cookies in a previous visit before I added reCAPTCHA then the form stays deactivated and can’t be reactivated without clearing cookies. I suspect that most users who experience that probably won’t have the knowledge or patience to delete their cookies and return to the home page before accessing the contact form, so it’s not a great solution from my point of view. Is there some combination of settings that would allow the form to be activated, regardless of the order in which the user accepts cookies and accesses the form?December 4, 2024 at 10:55 am #1472877Hi,
Thank you for the inquiry.
You have the option to automatically refresh the page once the user accept the cookies. Please go to Enfold > Privacy & Cookies > Cookie Handling > Advanced Options section, then adjust the Auto Reload Page settings accordingly. Another option is to add a note instructing users to refresh the page after accepting the cookies.
Best regards,
IsmaelDecember 4, 2024 at 12:03 pm #1472906Ok, that’s good to know about – thank you. It doesn’t fully resolve my issue, though, because anyone who’s visited the site and accepted cookies in the past will still get the “form deactivated” message, with no option to re-accept cookies and refresh the page. For those visitors, I’d have to put some text on the page to say that if they see that message, they should delete their cookies and try again, which wouldn’t look great and would no doubt put off most people from using the contact form. Is there any other way around this?
December 5, 2024 at 4:39 am #1472961Hi,
Thank you for the update.
Unfortunately, there’s no way around this other than clearing the cookies manually. Yes, you can temporarily add a note or add another link to a page containing a different contact form if you think this will discourage users from using the current one.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.