Skip to main content
Detects third-party resources that may set cookies
Rule IDsecurity/third-party-cookies
CategorySecurity
ScopePer-page
Severityinfo
Weight3/10

Solution

Third-party cookies are being phased out by browsers. Review resources from external domains that may set cookies for tracking. Consider using first-party analytics solutions, server-side tracking, or privacy-focused alternatives. Ensure compliance with GDPR/CCPA by providing cookie consent and disclosing third-party services in your privacy policy.

Enable / Disable

Disable this rule

squirrel.toml
[rules]
disable = ["security/third-party-cookies"]

Disable all Security rules

squirrel.toml
[rules]
disable = ["security/*"]

Enable only this rule

squirrel.toml
[rules]
enable = ["security/third-party-cookies"]
disable = ["*"]