Skip to content

Commit

Permalink
mise à jour tarteaucitron et passage à GA4
Browse files Browse the repository at this point in the history
  • Loading branch information
agallou committed Jul 2, 2023
1 parent c024a0d commit ab4f6a5
Show file tree
Hide file tree
Showing 5 changed files with 6,588 additions and 2,158 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ meetup_url: "https://www.meetup.com/fr-FR/afup-lyon-php/"

permalink: /posts/:title

ga_ua: "UA-33922307-6"
ga_ua: "G-KRC2L7ZCZC"
home_featured_articles_count: 2

subheader:
Expand Down
34 changes: 26 additions & 8 deletions _includes/js_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,43 @@
tarteaucitronForceLanguage = 'fr';
tarteaucitron.init({
"privacyUrl": "", /* Privacy policy url */
"bodyPosition": "bottom", /* or top to bring it as first element for accessibility */

"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */

"orientation": "bottom", /* Banner position (top - bottom) */
"groupServices": false, /* Group services by category */
"serviceDefaultState": "wait", /* Default state (true - wait - false) */
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": true, /* Show the cookie list */
"closePopup": false, /* Show a close X on the banner */

"showIcon": false, /* Show cookie icon to manage cookies */
"iconPosition": "BottomRight", /* BottomRight, BottomLeft, TopRight and TopLeft */

"adblocker": false, /* Show a Warning if an adblocker is detected */

"DenyAllCta" : true, /* Show the deny all button */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": false, /* Disable auto consent */
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"highPrivacy": false, /* HIGHLY RECOMMANDED Disable auto consent */

"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */

"removeCredit": true, /* Remove credit link */
"moreInfoLink": true, /* Show more info link */

"removeCredit": true, /* Remove credit link */
"moreInfoLink": true, /* Show more info link */
"useExternalCss": true /* If false, the tarteaucitron.css file will be loaded */
"useExternalCss": true, /* If false, the tarteaucitron.css file will be loaded */
"useExternalJs": false, /* If false, the tarteaucitron.js file will be loaded */

"readmoreLink": "", /* Change the default readmore link */

"mandatory": false, /* Show a message about mandatory cookies */
"mandatoryCta": false /* Show the disabled accept button when mandatory on */
});
tarteaucitron.user.analyticsUa = '';
tarteaucitron.user.analyticsUaCreate = {'siteSpeedSampleRate': 100};
(tarteaucitron.job = tarteaucitron.job || []).push('analytics');
tarteaucitron.user.gtagUa = '{{ site.ga_ua }}';
tarteaucitron.user.gtagMore = function () { };
(tarteaucitron.job = tarteaucitron.job || []).push('gtag');
</script>
{% endif %}

Loading

0 comments on commit ab4f6a5

Please sign in to comment.