You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shiro.apache.org by "Benjamin Marwell (Jira)" <ji...@apache.org> on 2022/02/12 12:49:00 UTC

[jira] [Commented] (SHIRO-862) Remove google analytics from javadoc

    [ https://issues.apache.org/jira/browse/SHIRO-862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491343#comment-17491343 ] 

Benjamin Marwell commented on SHIRO-862:
----------------------------------------

You could also replace it with Matomo:
{code:java}
<!-- Matomo -->
<script>
  var _paq = window._paq = window._paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  /* We explicitly disable cookie tracking to avoid privacy issues */
  _paq.push(['disableCookies']);  
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//matomo.privacy.apache.org/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '2']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Matomo Code -->

 {code}

> Remove google analytics from javadoc
> ------------------------------------
>
>                 Key: SHIRO-862
>                 URL: https://issues.apache.org/jira/browse/SHIRO-862
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Francois Papon
>            Assignee: Francois Papon
>            Priority: Major
>             Fix For: 2.0.0, 1.9.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org