Divij Vaidya created TINKERPOP-2776:
---------------------------------------

             Summary: Add website analytics for TinkerPop apache site
                 Key: TINKERPOP-2776
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2776
             Project: TinkerPop
          Issue Type: Improvement
          Components: documentation
            Reporter: Divij Vaidya
            Assignee: Divij Vaidya


Mailing list discussion: 
[https://lists.apache.org/thread/3nm6522slgk3619zc9ylz5yomknk7oh8] 

The code that needs to added to each page is as follows:
{code:java}
<!-- Matomo -->
<script>
  var _paq = window._paq = window._paq || [];
  /* We explicitly disable cookie tracking to avoid privacy issues */
  _paq.push(['disableCookies']);
  /* tracker methods like "setCustomDimension" should be called before 
"trackPageView" */
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="https://analytics.apache.org/";;
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '27']);
    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}
Once, this code is added and deployed, we should be able to see the analytics 
at [https://matomo.privacy.apache.org/] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to