You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/09/27 12:26:00 UTC
[jira] [Commented] (TINKERPOP-2776) Add website analytics for TinkerPop apache site
[ https://issues.apache.org/jira/browse/TINKERPOP-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610026#comment-17610026 ]
Martijn Visser commented on TINKERPOP-2776:
-------------------------------------------
I cam across this ticket accidentally, let me know if you need any help (I'm a volunteer who has worked on setting up Matomo for the ASF)
> 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
> Priority: Minor
>
> 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)