Aggregated and anonymized data from 80k+ sites using tarteaucitron.
firebase
requests / 30 days
38.12% consent
Firebase and GDPR: how to manage consent
Firebase 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 Firebase requires consent, the service should only be activated after the visitor has made a choice. tarteaucitron can condition its loading on that decision.
Managing Firebase with tarteaucitron
When Firebase 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 Firebase
No cookie name is currently declared in the tarteaucitron integration for Firebase. This does not necessarily mean that the service processes no data or uses no other browser storage mechanism.
Configuring Firebase
Add the following code to your website after initializing tarteaucitron. Replace the example values with those provided by Firebase.
<script>
tarteaucitron.user.firebaseApiKey = 'APIKEY';
(tarteaucitron.job = tarteaucitron.job || []).push('firebase');
</script>
Additional code
The following code can already be present on your website and should be kept where the service is used.
<script>tarteaucitron.user.firebaseAuthDomain = 'AUTHDOMAIN';tarteaucitron.user.firebaseDatabaseUrl = 'DATABASEURL';tarteaucitron.user.firebaseProjectId = 'PROJECTID';tarteaucitron.user.firebaseStorageBucket = 'STORAGEBUCKET';tarteaucitron.user.firebaseAppId = 'APPID';tarteaucitron.user.firebaseMeasurementId = 'MEASUREMENTID';</script>
Code to remove
Default HTML code to remove from your website:
<script src="https://www.gstatic.com/firebasejs/8.6.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.2/firebase-analytics.js"></script>
<script>
var firebaseConfig = {
apiKey: "APIKEY",
authDomain: "AUTHDOMAIN",
databaseURL: "DATABASEURL",
projectId: "PROJECTID",
storageBucket: "STORAGEBUCKET",
appId: "APPID",
measurementId: "MEASUREMENTID",
};
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>For a complete guide, read the documentation to install tarteaucitron.js.
Privacy information
For detailed information about the processing of data by Firebase, cookies and applicable retention periods, refer to the documentation or privacy policy published by the service provider:
Frequently asked questions about Firebase
Does Firebase require consent?
It depends on how Firebase 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 Firebase?
tarteaucitron controls the activation of Firebase 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.