|
/ Documentation /SureCookie Scanner/ Introducing SureCookie Library Scanner

Introducing SureCookie Library Scanner

SureCookie Library reports the cookies and other resources it observes on the pages you scan.

library.surecookie.com

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:

CategoryWhat It Includes
EssentialLogin sessions, security tokens, cart functionality
FunctionalLanguage preferences, UI settings, accessibility features
AnalyticsTraffic measurement, behavior tracking, performance monitoring
MarketingAdvertising 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:

  1. Domain Matching – Known tracking domains are identified instantly.
  2. Script Pattern Analysis – Code signatures of popular services are recognized.
  3. Cookie Fingerprinting – Cookie names, prefixes, and behaviors are matched against known patterns.
  4. 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

CapabilityWhat It Means for You
Real browser scanningCatches what static scanners miss
Smart categorizationSuggested categories to review
Region detectionLocation fields in consent records when enabled
Geo-targeted bannersRight experience for each visitor
Privacy-first designProcess data without exploiting it
Continuous updatesClassification 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.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top