Integrating Google reCAPTCHA
Google reCAPTCHA is integrated in Subscription Servlet Version 2. You need to do the following to ensure that Google reCAPTCHA can be executed in your HTML subscription form:
Script Insert the following script within the <head> tag.
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function onSubmit(token) {
document.getElementById("displayform").submit();
}
</script>
Method At the end of the first line of the <form> tag, enter id="displayform".
<form action="https://web.inxmail.com/[organisation]/subscription/servletv2" method="post" id="displayform">
Button and site key Enter the so-called site key.
The site key is as follows: 6Ld673sUAAAAANIr4kvsqp3F1i4iiOatKNVWVCL2 (Note: The site key is the same for all ASP customers.)
<button class="g-recaptcha" data-sitekey="6Ld673sUAAAAANIr4kvsqp3F1i4iiOatKNVWVCL2" data-callback='onSubmit'>Subscribe</button>
Related topics
- Advanced properties > Configure Google reCAPTCHA (HTML subscription form)