Merge branch 'develop' into trunk

This commit is contained in:
Vincent BRIDIER 2023-07-11 10:57:25 +02:00
commit 5d3e10c8ab
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -177,8 +177,8 @@ global $tp;
<div id="template">
<div>
<div class="ldcweb-cn-infos">
<span class="ldcweb-cn-name">Google Analytics (universal)</span>
<span class="ldcweb-cn-description">Ce service peut déposer 8 cookies.</span>
<span class="ldcweb-cn-name"></span>
<span class="ldcweb-cn-description"></span>
<a class="ldcweb-cn-link" href="#">En savoir plus</a>
</div>
<div class="ldcweb-cn-buttons">
@ -247,33 +247,9 @@ global $tp;
}(document, 'script'));
}
},
'analytics': {
'name': "<?php if (ICL_LANGUAGE_CODE === 'fr') : ?>MESURES D'AUDIENCE - Google Analytics<?php else : ?>AUDIENCE MEASUREMENTS - Google Analytics<?php endif; ?>",
'description': '<?php if (ICL_LANGUAGE_CODE === 'fr') : ?>Les services de mesure d\'audience permettent de générer des statistiques de fréquentation utiles à l\'amélioration du site.<?php else : ?>The services of measurement of audience make it possible to generate statistics of frequentation useful for the improvement of the site.<?php endif; ?>',
'link': 'https://support.google.com/analytics/answer/6004245',
'cookies': ['NID', '_ga', '_gat_gtag_UA_54196604_1', '_gid'],
'script': function() {
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = 'https://www.googletagmanager.com/gtag/js?id=UA-54196604-1';
g.id = 'analytics';
s.parentNode.insertBefore(g, s)
}(document, 'script'));
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-54196604-1');
}
},
'matomo': {
'name': "Matomo",
'description': 'Service d\'analyse d\'audience',
'description': '<?php if (ICL_LANGUAGE_CODE === 'fr') : ?>Service d\'analyse d\'audience.<?php else : ?>Audience analysis service.<?php endif; ?>',
'link': 'https://fr.matomo.org/gdpr-analytics/',
'cookies': ['_pk'],
'script': function() {
@ -376,4 +352,4 @@ global $tp;
</body>
</html>
</html>