Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2776

Add website analytics for TinkerPop apache site

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.5.5
    • 3.7.0
    • documentation
    • None

    Description

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

      The code that needs to added to each page is as follows:

      <!-- 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 --> 

      Once, this code is added and deployed, we should be able to see the analytics at https://matomo.privacy.apache.org/ 

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            divijvaidya Divij Vaidya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: