I have used the following code by @SanfordWhiteman . After adding it to the page it is recording fills out form activity twice and thereby calling the webhook twice. One activity is marked as Genuine and another as Suspicious. Please let me know what might be the cause for this.
Thanks in advance