Removing a fake-CAPTCHA “ClickFix” attack and restoring lost GA4 data
A cabinet manufacturer's site was showing visitors a fake verification box that tricked them into running malicious commands. The same infection had quietly broken analytics.
- Client
- Cabinet manufacturer
- Industry
- Manufacturing
- Location
- USA
- My role
- Malware cleanup and analytics repair, agency project
- Tools
- WordPress
- GA4
- Google Tag Manager

The problem
Visitors to the site were shown a fake “verify you are human” box. It copied a malicious command to their clipboard and told them to paste it into their computer, an attack known as ClickFix or pastejacking. It puts the site’s visitors at risk, not just the site.
Around the same time, Google Analytics 4 had stopped recording data properly, so nobody could see what was happening on the site.
What I did
- Found and removed the injected script that displayed the fake CAPTCHA.
- Traced how the code got in and closed the entry point, then cleaned and hardened the site.
- Investigated the GA4 drop and connected it to the infection, rather than treating it as a separate analytics problem.
- Restored tracking and confirmed data was arriving correctly again.
The result
Visitors were no longer exposed to the attack, and the client got reliable analytics back. It is a good example of why I always check tracking after a security incident: malware often breaks more than it first appears to.