Tagged: ReCAPTCHA
-
AuthorPosts
-
August 27, 2022 at 11:19 am #1362917
Hi Team Kriesi,
auf einer Seite ist jetzt der consentmanager eingebaut. Recaptcha über das kontaktformular funktioniert nicht mehr. Jetzt kommt die Fehlermeldung
Leider ist beim Versuch, mit der Google-reCAPTCHA-API zu kommunizieren, ein Problem aufgetreten. Du kannst das Kontaktformular derzeit nicht absenden. Bitte versuche es später erneut – lade die Seite neu und überprüfe deine Internetverbindung.
Mit deaktiviertem consentmanager klappt alles wunderbar.
Was muss ich machen, damit das Formular mit consentmanager funktioniert?
mfg- This topic was modified 2 years, 3 months ago by xxtita.
August 30, 2022 at 1:55 am #1363120Hey xxtita,
Thank you for the inquiry.
You may have to set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior settings to the first or second option to allow the Google-reCAPTCHA-API scripts. The API doesn’t work because the privacy option blocks the scripts in order to prevent any cookies from being stored in the users’ browser storage without their consent. Adjusting the default cookie behavior should allow external scripts even without the users’ explicit consent or without them accepting the cookies first.
Best regards,
IsmaelAugust 30, 2022 at 8:47 am #1363146Hi Ismael,
i want to implement the consentmanager plugin to handle all the cookies. It works fine, only the recaptcha from google does not work on the contact form.
To adjust the default Cookie Behaviour I have only 2 options – activate or deactivate. Even if i try to make the enfold-cookie banner visible (which makes no sense, cause i want the consentmanager) and allow external scripts – recaptcha doesnt work.
I want that the Cookie Handling to be made by the consentmanager plugin. Is this possible? I really hope so, cause i want to implement this plugin on about 30 enfold-sites ;) Otherwise i have to take another plugin for the form.
Any ideas how i can manipulate the cookie handling by enfold? Or deactivate it generally in functions?
Thanks in advance.
add_theme_support( 'avia_supress_cookie_modal_html_creation' );
didnt work either- This reply was modified 2 years, 3 months ago by xxtita.
August 31, 2022 at 11:05 am #1363332Hi,
Thank you for the update.
The functions that controls the privacy options including the privacy shortcode are located in the enfold/includes/helper-privacy.php file. The function handler_wp_footer_script defines the av_privacy_cookie_setter function which sets or removes a cookie based on the status of the privacy toggles.
For example, if the toggle av_privacy_google_recaptcha is disabled, the functions sets the aviaPrivacyGoogleReCaptchaDisabled in the browser storage, which informs the theme that the recaptcha script should not be loaded because the user disabled it.
Unfortunately, we are not familiar with the consentmanager plugin, so might not be able to help you further. You may need to use a different contact form plugin that is already compatible with the consentmanager.
Best regards,
IsmaelSeptember 1, 2022 at 2:35 pm #1363485Thank you
September 1, 2022 at 5:05 pm #1363508 -
AuthorPosts
- You must be logged in to reply to this topic.