babaktaremi / GoogleCaptchaComponent

🤖 Implementation of google reCaptcha as a blazor component with support of reCaptcha-V2 and reCaptcha-V3 and server validation
MIT License
77 stars 13 forks source link

Add 'action' parameter to the Component. #20

Open devreepiet opened 3 months ago

devreepiet commented 3 months ago

Description:

As a new user implementing Google reCAPTCHA, I noticed that the ‘action’ parameter is missing. The ‘action’ parameter plays a crucial role in tracking user-initiated events and metrics. Without it, we won’t have meaningful insights into user interactions.

Suggested Action:

Add the ‘action’ parameter to the reCAPTCHA implementation. And expose this as a parameter to the Component.

Benefits of Adding the ‘action’ Parameter:

Better visibility into user behavior through reCAPTCHA dashboards. Improved monitoring for different forms of attacks (e.g., falsification or duplication of actions).

babaktaremi commented 2 months ago

Thanks for your contribution! Sorry I've been busy these 3 weeks. I reviewed your PR and requested some changes.