# How CMPs detect and block hidden trackers?

---

**Category:** Cookie Consent
**URL:** https://www.cookieyes.com/knowledge-base/cookie-consent/how-cmps-detect-block-hidden-trackers/

---

Consent Management Platforms (CMPs) detect hidden trackers by scanning websites and blocking scripts until consent is given.
**How they work:**
- **Scanning:** Automated crawlers identify cookies and scripts.
- **Database checks:** Match against known tracker libraries.
- **Blocking:** Prevent scripts from firing before consent.
- **Rescanning:** Detect new or updated trackers over time.
This ensures that cookies are not set without user approval, keeping websites compliant with GDPR and CCPA.
CMPs automatically detect and block trackers, activating them only with valid user consent.
Read more about [Consent Management Platforms](https://www.cookieyes.com/blog/consent-management-platform/).
