Integrating Friendly Captcha into your existing HTML subscription form
If you currently use an HTML subscription form that calls the Subscription Servlet Version 1, make the following additions or changes in the HTML code of your existing subscription form in order to be able to use Friendly Captcha.
1. Integrate the Subscription Servlet Version 3.
Copy
https://web.inxmail.com/[organisation]/subscription/servletv3"
2. Enter the URL to the Subscription Servlet version 3 at the end of the first line of the <form> tag as form ACTION with METHOD="post".
Copy
<form ACTION="https://web.inxmail.com/[organisation]/subscription/servletv3" METHOD="post">
3. Insert the following script within the <head> tag.
Copy
<script type="module" src="https://unpkg.com/friendly-challenge@0.9.9/widget.module.min.js" async defer></script>
<script nomodule src="https://unpkg.com/friendly-challenge@0.9.9/widget.min.js" async defer></script>
4. Enter the site key for Friendly Captcha.
The site key is: FCMQMF2A9M34Q6HJ (Note: The site key is the same for all ASP customers).
Copy
<div class="frc-captcha" data-sitekey="FCMQMF2A9M34Q6HJ" data-puzzle-endpoint="https://eu-api.friendlycaptcha.eu/api/v1/puzzle"></div>