StatCounter consent management

Analytics
Consent-controlled integration
StatCounter
1 cookie listed Privacy policy
service statcounter
1
requests / 30 days

0% consent


StatCounter and GDPR: how to manage consent

StatCounter is an audience measurement or analytics service. Depending on its configuration, its use may involve browser storage, tracking technologies or the transmission of data to a third-party provider.

When the configuration of StatCounter requires consent, the service should only be activated after the visitor has made a choice. tarteaucitron can condition its loading on that decision.

Managing StatCounter with tarteaucitron

When StatCounter is integrated through tarteaucitron, its activation is managed according to the visitor's consent choice. The service can therefore be loaded only when the corresponding permission has been granted and the visitor can later change this choice through the consent interface.

Cookies and storage used by StatCounter

The current tarteaucitron integration declares 1 cookie associated with StatCounter:

  • sc_is_visitor_unique

This list corresponds to the cookies currently declared in the tarteaucitron service definition. The service provider may change its technical implementation over time.

Configuring StatCounter

Add the following code to your website after initializing tarteaucitron. Replace the example values with those provided by StatCounter.

<script>
(tarteaucitron.job = tarteaucitron.job || []).push('statcounter');
</script>

Additional code

The following code can already be present on your website and should be kept where the service is used.

<div class="statcounter-canvas"></div><script type="text/javascript">var sc_project = sc_project, sc_invisible = sc_invisible (0 | 1), sc_security = "sc_security", sc_text = sc_text (0 | 2 | 3 | 4 | 5);</script>

Code to remove

Default HTML code to remove from your website:

<script type="text/javascript"> var scJsHost = (("https:" == document.location.protocol) ? "https://secure." : "http://www."); document.write("<sc"+"ript type='text/javascript' src='" + scJsHost+ "statcounter.com/counter/counter.js'></"+"script>"); </script>

For a complete guide, read the documentation to install tarteaucitron.js.

Privacy information

For detailed information about the processing of data by StatCounter, cookies and applicable retention periods, refer to the documentation or privacy policy published by the service provider:

StatCounter privacy information

Frequently asked questions about StatCounter

Does StatCounter require consent?

It depends on how StatCounter is configured and which data is processed. Audience measurement tools using non-exempt tracking technologies generally need to be conditioned on the visitor’s consent.

How does tarteaucitron block StatCounter?

tarteaucitron controls the activation of StatCounter according to the consent choice recorded for the visitor. The service code is triggered through tarteaucitron instead of being loaded independently from the consent manager.