Add cookies for firebase
This commit is contained in:
parent
92c75af8de
commit
2ed802f9fd
|
|
@ -1875,7 +1875,14 @@ tarteaucitron.services.firebase = {
|
||||||
"name": "Firebase",
|
"name": "Firebase",
|
||||||
"uri": "https://firebase.google.com/support/privacy",
|
"uri": "https://firebase.google.com/support/privacy",
|
||||||
"needConsent": true,
|
"needConsent": true,
|
||||||
"cookies": [],
|
"cookies": (function () {
|
||||||
|
var googleIdentifier = tarteaucitron.user.firebaseMeasurementId,
|
||||||
|
tagGCookie = '_ga_' + googleIdentifier;
|
||||||
|
|
||||||
|
tagGCookie = tagGCookie.replace(/G-/g, '');
|
||||||
|
|
||||||
|
return ['_ga', tagGCookie];
|
||||||
|
})(),
|
||||||
"js": function () {
|
"js": function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue