Overview
StatCounter is a real-time web analytics service used primarily by small and medium-sized websites. It tracks page views, visitor geography, referrers, and search keywords.
What This Script Does
- Records page views, unique visitors, and session duration
- Captures referrer URLs and search keywords that brought visitors to the site
- Logs visitor geographic location based on IP address
- Sets a persistent cookie to distinguish new versus returning visitors
- Makes network requests to StatCounter servers to transmit analytics data
- Tracks exit links and download events
Consent & Compliance
- Category: Analytics
- GDPR: Sets persistent tracking cookies and collects IP-based geolocation data. Requires consent as it processes personal data for analytics purposes.
- CCPA: Visitor tracking data constitutes personal information subject to disclosure requirements.
- ePrivacy: Uses persistent cookies for visitor identification, requiring prior consent under the ePrivacy Directive.
Should You Block This Without Consent?
Yes. StatCounter sets persistent tracking cookies and collects personal data for analytics purposes. It should be blocked until the visitor provides consent for analytics tracking.
Is StatCounter GDPR compliant?
StatCounter typically loads analytics trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So StatCounter can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads StatCounter, not on StatCounter itself.
Consent Categories
Also Known As
Industries
Tracked Domains (1)
StatCounter's trackers are occasionally seen, seen on under 1% of the sites ConsentStack has scanned. Scan your own site to see which of these are firing before consent.
statcounter.comAnalyticsstatcounter.com is an analytics domain operated by StatCounter, used to measure visits, sessions, and on-site behavior. Seen on under 1% of scanned sites.
Cookies StatCounter Sets (2)
sc_is_visitor_uniqueStatCounter persistent visitor-uniqueness flag. Set on first visit and read on subsequent visits so repeat visitors are not counted as new in unique-visitor metrics.
is_uniqueStatCounter session-scoped marker indicating whether the current visit has been counted as a unique visit. Expires when the browser closes.
Frequently Asked Questions
Related Vendors



Manage consent for StatCounter
ConsentStack automatically detects and manages StatCounter trackers so your site stays compliant with global privacy regulations.