CookieFrameDocs

Cookie Scanning

Automatically detect and categorize cookies on your website with CookieFrame's scanning feature.

Cookie Scanning

CookieFrame's cookie scanning feature automatically crawls your website to detect cookies, localStorage, and sessionStorage items. This helps you maintain an accurate cookie disclosure and ensures your consent banner reflects what's actually on your site.

Starting a Scan

  1. Go to your domain in the CookieFrame dashboard
  2. Click Scan Cookies or navigate to Cookies → Run Scan
  3. Configure scan options (optional)
  4. Click Start Scan

[SCREENSHOT PLACEHOLDER: Scan configuration modal]

The scan runs in the background. You'll receive an email notification when it completes.

What Gets Detected

The scanner detects three types of browser storage:

Storage TypeDetection Method
HTTP CookiesNetwork response headers + client-side document.cookie
localStorageJavaScript API inspection
sessionStorageJavaScript API inspection

The scanner does not currently detect IndexedDB, Service Worker caches, or browser fingerprinting techniques. These may be added in future updates.

Detected cookies are automatically categorized:

CategoryDescriptionUser Choice
NecessaryEssential for site functionality (login, cart, security)Always enabled
AnalyticsUsage statistics and performance monitoringOptional
MarketingAdvertising, retargeting, and trackingOptional
PreferencesUser settings like language or themeOptional
UncategorizedUnknown cookies pending reviewOptional

How Categorization Works

CookieFrame uses a multi-layer approach to categorize cookies:

  1. Known Cookie Database - Matches against 50+ patterns from major vendors (Google, Meta, HubSpot, Microsoft, etc.)
  2. Heuristic Classification - 7-layer analysis examines cookie names, domains, values, and expiration to assign a category with confidence scoring

Always review uncategorized cookies manually. Incorrect categorization can lead to compliance issues.

Scan Configuration

Fine-tune how the scanner crawls your site:

SettingDescriptionDefault
Max PagesMaximum pages to scan (plan-limited)50
Max DepthHow many links deep to crawl3
Include SubdomainsScan subdomains (e.g., blog.example.com)Off
Exclude PatternsURL patterns to skip (comma-separated)
Entry URLStarting page for the scanHomepage
Wait TimeMilliseconds to wait for JavaScript3000

Exclude Patterns

Skip URLs matching specific patterns:

/admin/*
/api/*
*.pdf
/checkout/*

This is useful for excluding authenticated areas, API endpoints, or large file downloads.

Understanding Results

After a scan completes, you'll see a summary:

[SCREENSHOT PLACEHOLDER: Scan results summary]

Summary Metrics

  • Pages Scanned - Successfully analyzed pages
  • Total Pages Found - All discovered URLs (may exceed max pages)
  • Cookies Found - Total unique cookies
  • localStorage Items - Client-side storage entries
  • sessionStorage Items - Session-specific storage entries

Change Detection

The scanner tracks changes between scans:

StatusMeaning
NewCookie appeared since last scan
UpdatedCookie properties changed (expiration, value pattern, etc.)
RemovedCookie no longer detected

Technologies Detected

The scanner identifies common third-party services and their cookies:

  • Google Analytics / GA4
  • Google Ads / AdSense
  • Meta Pixel (Facebook)
  • HubSpot
  • Hotjar
  • And many more

Per-Page Breakdown

View which cookies appear on each scanned page:

  1. Go to Cookies → Scan Results
  2. Click on any scan
  3. Select Pages tab

This helps identify pages with excessive tracking or unexpected cookies.

Scan Statuses

StatusDescription
PendingScan queued, waiting to start
RunningScan in progress
CompletedScan finished successfully
Completed with ErrorsScan finished but some pages failed
FailedScan could not complete
CancelledScan manually stopped

Automated Scanning (Pro)

Pro plans include scheduled scans to keep your cookie list current:

ScheduleDescription
WeeklyScans every 7 days
MonthlyScans on the 1st of each month

Enable automated scanning in Settings → Scanning.

Automated scans run during off-peak hours to minimize impact on your site. Results are emailed to your account email.

Managing Detected Cookies

After scanning, review and manage your cookies:

Edit Category

  1. Go to Cookies
  2. Click on any cookie
  3. Select the correct category from the dropdown
  4. Click Save

Add Description

Provide a user-friendly description for your privacy policy and consent banner:

  1. Click on the cookie
  2. Enter a description explaining what it does
  3. Click Save

Remove cookies that are no longer present or were false positives:

  1. Click on the cookie
  2. Click Delete

Deleting a cookie from CookieFrame doesn't remove it from your website. You need to remove the source code or service that sets the cookie.

Troubleshooting

Scan Shows Zero Cookies

  • Check if site is accessible - The scanner needs public access to your site
  • Verify JavaScript loads - Increase wait time if cookies are set by JavaScript
  • Check robots.txt - Ensure the scanner isn't blocked

Scan Takes Too Long

  • Reduce max pages - Start with 20-30 pages
  • Reduce depth - Use depth 2 instead of 3
  • Add exclude patterns - Skip large areas like archives or search results

Missing Expected Cookies

  • Cookies may require interaction - The scanner doesn't fill forms or click buttons
  • Login-protected cookies - The scanner can't access authenticated areas
  • Conditional cookies - Some cookies only set on specific user actions

Scan Fails

  • Site unreachable - Verify your domain is publicly accessible
  • Timeout - Your site may be too slow; try during off-peak hours
  • SSL errors - Ensure your SSL certificate is valid

Best Practices

  1. Scan after changes - Run a scan after adding new third-party services
  2. Review uncategorized - Don't leave cookies as "uncategorized" in production
  3. Document custom cookies - Add descriptions for first-party cookies
  4. Regular scans - Enable automated scanning to catch new cookies
  5. Test environments - Scan staging before production to catch issues early

Next Steps