cds-snc / cds-snc/platform-forms-client

Add Google Analytics event / logging for users blocked by captcha / flagged as suspicious

Open
#6,063 1 comment 0 reactions 1 assignee Claimed by @thiessenp-cds View on GitHub
spam prevention
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 9h
Merged PRs (30d)
91

Description

## Context
https://gcdigital.slack.com/archives/C03T4FAE9FV/p1756219722524359

- Current logs and errors are minimal.
- Intent was to simply give a sense of app health.
- Observing would be done through hCAPTCHA analytics
- We have use cases for specific forms needing troubleshooting.

## Description

We need improved visibility into when / how often Captcha is being triggered by end users, as there are a few data points that indicate it may be blocking legitimate users from being able to submit.

- Adding a Google Analytics (GA) event related to when a user is flagged as suspicious and adding the form ID in the data.
- Assessing whether "unusual" form users with extra security settings coincide with captcha events.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.