Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TAC analytic et consentment mode #1284

Open
triclic opened this issue Oct 25, 2024 · 2 comments
Open

TAC analytic et consentment mode #1284

triclic opened this issue Oct 25, 2024 · 2 comments

Comments

@triclic
Copy link

triclic commented Oct 25, 2024

Bonjour,
Y a t'il une subtilité pour installer Analytics et le consement mode ?
Car avec l'installation normal, lorsque j'accepte les cookie avec TAC je n'apparait pas dans les visiteurs en temps réels.
<!-- Tarteaucitron Configuration -->
<script src="/tarteaucitron/tarteaucitron.js"></script>
<script type="text/javascript">
tarteaucitron.init({
"privacyUrl": "",
"bodyPosition": "bottom",
"hashtag": "#tarteaucitron",
"cookieName": "tarteaucitron",
"orientation": "bottom",
"groupServices": false,
"showDetailsOnClick": true,
"serviceDefaultState": "wait",
"showAlertSmall": false,
"cookieslist": false,
"closePopup": false,
"showIcon": true,
"iconSrc": "tarteaucitron/cookies-icon.png",
"iconPosition": "BottomRight",
"adblocker": false,
"DenyAllCta": true,
"AcceptAllCta": true,
"highPrivacy": true,
"alwaysNeedConsent": false,
"handleBrowserDNTRequest": false,
"removeCredit": true,
"moreInfoLink": true,
"useExternalCss": false,
"useExternalJs": false,
"readmoreLink": "/mentions-legales/",
"mandatory": true,
"mandatoryCta": true,
"googleConsentMode": true,
"partnersList": false
});
</script>
<script type="text/javascript">
(tarteaucitron.job = tarteaucitron.job || []).push('gcmanalyticsstorage');
</script>

<script>
/*Google analytic*/
	tarteaucitron.user.gtagUa = 'G-XXX';
    // tarteaucitron.user.gtagCrossdomain = ['example.com', 'example2.com'];
    tarteaucitron.user.gtagMore = function () { /* add here your optionnal gtag() */ };
    (tarteaucitron.job = tarteaucitron.job || []).push('gtag');
</script> `...`

image

Y a t'il autre chose à faire ???
Merci de votre aide
Cordialement

@AmauriC
Copy link
Owner

AmauriC commented Oct 26, 2024

Bonjour,

analytics_storage passe bien en accordé donc c'est ok pour GA4.

Cette ligne n'est pas nécessaire (tarteaucitron.job = tarteaucitron.job || []).push('gcmanalyticsstorage');, le signal est déjà envoyé par le service gtag.

Les autres signaux sont pour Google Ads.

@triclic
Copy link
Author

triclic commented Oct 26, 2024

ok Merci Amauric
Je teste ça

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants