You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by bm...@apache.org on 2022/03/06 10:36:10 UTC
[maven-parent] 01/01: [MPOM-300] switch from GA to ASF Matomo.
This is an automated email from the ASF dual-hosted git repository.
bmarwell pushed a commit to branch MPOM-300_matomo
in repository https://gitbox.apache.org/repos/asf/maven-parent.git
commit 0dd3a29f04020d1f1acd14d3721f0b95d43caea0
Author: Benjamin Marwell <bm...@apache.org>
AuthorDate: Sun Mar 6 11:35:56 2022 +0100
[MPOM-300] switch from GA to ASF Matomo.
---
src/site/site.xml | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/site/site.xml b/src/site/site.xml
index 1eaa610..310a197 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -40,7 +40,6 @@ under the License.
</skin>
<edit>${project.scm.url}</edit>
- <googleAnalyticsAccountId>UA-140879-1</googleAnalyticsAccountId>
<custom>
<fluidoSkin>
@@ -64,6 +63,26 @@ under the License.
<item name="Maven" href="https://maven.apache.org/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>
+
<!-- Menus that every project will inherit -->
<menu ref="reports" inherit="bottom" />