You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2022/03/12 03:33:51 UTC
[maven-apache-parent] branch master updated: [MPOM-310] switch to Matomo Maven site tracking (POM documentation)
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-apache-parent.git
The following commit(s) were added to refs/heads/master by this push:
new 8c52ca6 [MPOM-310] switch to Matomo Maven site tracking (POM documentation)
8c52ca6 is described below
commit 8c52ca6e7b407a959acd741d25c0f0efd4f18d45
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Mar 12 04:33:49 2022 +0100
[MPOM-310] switch to Matomo Maven site tracking (POM documentation)
---
src/site-docs/site.xml | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/site-docs/site.xml b/src/site-docs/site.xml
index 40eff94..9169544 100644
--- a/src/site-docs/site.xml
+++ b/src/site-docs/site.xml
@@ -40,7 +40,6 @@ under the License.
</skin>
<edit>${project.scm.url}</edit>
- <googleAnalyticsAccountId>UA-140879-1</googleAnalyticsAccountId>
<publishDate position="right" />
<version position="right" />
@@ -54,6 +53,26 @@ under the License.
<item name="ASF" href="https://maven.apache.org/pom/asf/index.html" />
</breadcrumbs>
+ <head>
+ <![CDATA[<!-- 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', '3']);
+ 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 -->]]>
+ </head>
+
<menu name="Overview">
<item name="Introduction" href="index.html"/>
<!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->