You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by kw...@apache.org on 2022/03/14 16:12:07 UTC
[jackrabbit-oak] branch trunk updated: [OAK-9725] Enable Matomo Web Analytics
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new 5284b4e [OAK-9725] Enable Matomo Web Analytics
5284b4e is described below
commit 5284b4eb137a6f7ccb8285624a80d7e53bb813bb
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Mon Mar 14 17:12:01 2022 +0100
[OAK-9725] Enable Matomo Web Analytics
---
oak-doc/src/site/site.xml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/oak-doc/src/site/site.xml b/oak-doc/src/site/site.xml
index aed4309..5c10e84 100644
--- a/oak-doc/src/site/site.xml
+++ b/oak-doc/src/site/site.xml
@@ -159,6 +159,31 @@ under the License.
<item href="http://jackrabbit.apache.org/oak" name="Apache Jackrabbit Oak" />
<item href="http://jackrabbit.apache.org/" name="Apache Jackrabbit" />
</menu>
+
+ <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="https://matomo.privacy.apache.org/";
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
+ _paq.push(['setSiteId', '4']);
+ 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>
+ <footer><![CDATA[
+<p>© 2012-$date.get('yyyy')
+<a href="https://www.apache.org/">The Apache Software Foundation</a> | <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
+</p>
+ ]]></footer>
</body>
<skin>