You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cookie.html.twig 912B

3 yıl önce
1234567891011121314151617181920212223
  1. {% if chcookieconsent_isCookieConsentSavedByUser() == false %}
  2. {{ render_esi(path('ch_cookie_consent.show')) }}
  3. {% endif %}
  4. {% if chcookieconsent_isCategoryAllowedByUser('piwik') == true %}
  5. <!-- Matomo -->
  6. <script>
  7. var _paq = window._paq = window._paq || [];
  8. /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  9. _paq.push(['trackPageView']);
  10. _paq.push(['enableLinkTracking']);
  11. (function () {
  12. var u = "//statistiques.laclic.fr/";
  13. _paq.push(['setTrackerUrl', u + 'matomo.php']);
  14. _paq.push(['setSiteId', '5']);
  15. var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
  16. g.async = true;
  17. g.src = u + 'matomo.js';
  18. s.parentNode.insertBefore(g, s);
  19. })();
  20. </script>
  21. <!-- End Matomo Code -->
  22. {% endif %}