- SureCookie Installation Guide
- Installing SureCookie Pro
- Updating SureCookie
- How to Set Up SureCookie: Onboarding Wizard Guide
- SureCookie Dashboard Overview
- Connecting Your Site to SureCookie (Scanner Setup)
- Using SureCookie on Multiple Sites
- Uninstalling SureCookie & Data Cleanup
- SureCookie Shortcodes Reference
- Preferences Settings (Menu, Branding, Analytics)
- Customizing Banner Content
- Customizing Banner Layout
- Custom CSS for Banner Styling
- How to Configure the Floating Widget
- Customizing the Preference Modal
- Controlling Where the Cookie Banner Appears
- Customizing Banner Colors (Custom Colors, WCAG)
- Customizing the Blocked Content UI
- Banner Text in the Wrong Language (WPML, Polylang, and Locales)
- Re-Consent
- Understanding SureCookie Logs
- How to Set Up Geographic Targeting
- Block Scripts Until Consent (Resource Blocking)
- Setting Up Google Consent Mode v2
- Consent Models Explained (Opt-in vs Opt-out)
- Exporting Consent Logs (PDF Proof + CSV)
- Consent & Data Settings (Duration, Retention, Renew)
- Consent Forwarding Across a Multisite Network
- Resource / Script Blocking (Add Embeds + Fixes)
- Troubleshooting SureCookie
- Fix a Stuck or Failed Cookie Scan
- Why Some Cookies Aren’t Detected
- Banner Not Appearing: Troubleshooting
- Settings or Cookie Categories Not Saving or Loading
- Embeds Blocked After Consent (YouTube, Maps, Vimeo)
- Site Performance / Page Speed
- Scanning Your Site From Your Browser
- Importing and Exporting SureCookie Settings
- Verifying Your Domain With a DNS Record
Introducing SureCookie Library Scanner
SureCookie Library reports the cookies and other resources it observes on the pages you scan.
What is SureCookie Library?
SureCookie Library is the cloud-powered engine behind SureCookie’s detection capabilities.
It’s a scanning infrastructure that visits your website like a real person would – using an actual browser, not just reading HTML. This means it catches cookies, scripts, and embedded content that other tools completely miss.
When you run a scan from your WordPress dashboard, this is what does the heavy lifting.
Why Real Browser Scanning Matters
Here’s the problem with most cookie scanners:
They read your page’s source code and call it a day.
But modern websites don’t work that way. Scripts load after the page renders. Tag managers inject trackers dynamically. Some cookies only appear after user interaction.
Static scanning misses all of that.
SureCookie Library uses a Playwright-powered browser engine. It actually loads your pages, waits for scripts to execute, and observes what happens – just like a visitor’s browser would.
That’s the difference between guessing and knowing.
What Gets Detected
When SureCookie Library scans your site, it identifies:
- Cookies: The scanner records the first-party and third-party cookies present in the browser context during the visit.
- Scripts – Analytics, marketing pixels, tag managers, social widgets.
- Embedded Content – YouTube videos, Vimeo players, Google Maps, external iframes.
- Dynamic Injections – Anything loaded after initial page render.
- Conditional Trackers – Scripts that only fire under certain conditions.
Resources that require a login, a different location or an interaction the scanner does not perform can be absent from the results.
Smart Categorization
Detection is only half the job. Knowing what category each resource belongs to – that’s where it gets useful.
SureCookie Library automatically sorts every detected cookie and script into:
| Category | What It Includes |
|---|---|
| Essential | Login sessions, security tokens, cart functionality |
| Functional | Language preferences, UI settings, accessibility features |
| Analytics | Traffic measurement, behavior tracking, performance monitoring |
| Marketing | Advertising pixels, retargeting scripts, conversion tracking |
This categorization is powered by a continuously improving detection database. As new services emerge and tracking methods evolve, the library stays current.
You can always override categories manually if needed. But for most cookies, it just works.
How the Algorithm Works
Behind the scenes, SureCookie Library uses a layered detection approach:
- Domain Matching – Known tracking domains are identified instantly.
- Script Pattern Analysis – Code signatures of popular services are recognized.
- Cookie Fingerprinting – Cookie names, prefixes, and behaviors are matched against known patterns.
- Behavioral Detection – Scripts that exhibit tracking behavior are flagged, even if they’re unfamiliar.
Scans contribute information about cookie names, domains and purposes. The service uses a confidence score for classification and can hold uncertain results for review.
Region Detection for Consent Logs
Privacy requirements vary by jurisdiction. Use location rules to choose the consent experience your site shows in each configured region.
SureCookie Library helps you handle this.
When consent logging and its IP setting are enabled, SureCookie can record the visitor’s country and, where available, region. When consent-log IP processing is disabled, those location fields are redacted.
When IP recording is enabled, SureCookie anonymizes the address before writing the consent record.
Privacy First
SureCookie Library processes data. It doesn’t exploit it.
Here’s exactly what happens:
- Page URLs are sent to the scanner when you run a scan
- Detected cookies and scripts are analyzed and categorized
- When enabled for consent logging, location lookup uses the visitor’s IP address before SureCookie anonymizes it for the log.
- The WordPress plugin registers the site with the scanning service. When a geolocation lookup is needed, the plugin requests location data from the geolocation service.
See the SureCookie Privacy Policy for how the scanning service processes scan data and how the SureCookie website uses analytics and advertising services.
The scanning service visits the public pages you select and reports the cookies, scripts and embedded resources it observes. Review the results when configuring your site.
Always Up to Date
The web changes constantly. New tracking scripts appear. Existing services update their methods. Cookie patterns evolve.
SureCookie Library stays current:
- Detection patterns are updated regularly
- New services are added as they’re discovered
- Community-wide scanning improves accuracy for everyone
- Edge cases are handled as they emerge
Review uncategorized cookies and check whether suggested categories match how your site uses each service.
Built for Scale
Whether you’re scanning a single-page site or a complex WooCommerce store with hundreds of products, SureCookie Library handles it.
- Fast scan times
- Reliable infrastructure
- No visitor-based limits on your end
- Results can vary when a page’s resources, content or consent state change.
The scanning engine is built to scale with your needs.
Geo-Targeted Consent Banners
Available in SureCookie Pro
Region detection isn’t just for logging. It’s the foundation for something bigger.
With Geographic Rules in SureCookie Pro, you can configure consent experiences by region.
- EU, EEA, UK (GDPR): Apply the opt-in template and review its category settings for your site.
- California, USA (CCPA/CPRA): The opt-out template targets the United States by default. To limit a rule to California, configure the state restriction.
- Brazil (LGPD): Add the Brazil template and review the opt-in settings for your site.
- Other regions → Simplified or no banner, based on your preference
Save the rules for the regions you serve, then check which banner visitors see when a rule matches or the location is unknown.
Quick Summary
| Capability | What It Means for You |
|---|---|
| Real browser scanning | Catches what static scanners miss |
| Smart categorization | Suggested categories to review |
| Region detection | Location fields in consent records when enabled |
| Geo-targeted banners | Right experience for each visitor |
| Privacy-first design | Process data without exploiting it |
| Continuous updates | Classification based on catalog data and scan results |
Part of the SureCookie Ecosystem
SureCookie Library powers the detection layer. The WordPress plugin handles enforcement, consent collection, and logging.
Together, they give you:
- Accurate detection
- Real enforcement
- Local data storage
- Complete control
No guesswork. No gaps. No compliance theater.
We don't respond to the article feedback, we use it to improve our support content.