Hi Weichiu,
Thanks for reaching out! I've created a profile for Ozone. The tracking
code that needs to be implemented is:
<!-- 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']);
/* Measure a visit to flink.apache.org and nightlies.apache.org/flink
as the same visit */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.apache.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '34']);
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 -->
This needs to be included in every page you want to track by including the
code before the </head> tag.
Results can be viewed via https://analytics.apache.org
Best regards,
Martijn
On Mon, Dec 19, 2022 at 6:31 PM Wei-Chiu Chuang <[email protected]> wrote:
> Hi Apache Privacy team,
>
> We'd like to request a site ID & tracking code from you so we can add to
> the Ozone web site.
>
> Let me know how to proceed. Task jira: HDDS-7671
> <https://issues.apache.org/jira/browse/HDDS-7671>
>
> Thanks,
> Weichiu
>
> On Fri, Dec 16, 2022 at 9:36 PM Wei-Chiu Chuang <[email protected]>
> wrote:
>
> > Hi community,
> >
> > I've been spending some time on the Ozone website SEO.
> >
> > One thing I'd like to do is site traffic analysis. Per Apache Privacy
> > Policy <https://privacy.apache.org/faq/committers.html>, we can't embed
> > Google Analytics tracking code. However, Apache Privacy has a Matomo
> > instance, which provides Google Analytics-like capabilities. As an
> example,
> > check out the analytics
> > <
> https://matomo.privacy.apache.org/index.php?module=CoreHome&action=index&date=yesterday&period=day&idSite=13#?period=day&date=yesterday&category=Dashboard_Dashboard&subcategory=1
> >
> > of Apache Airflow.
> >
> > Use cases in mind: understand where the users come from, understand what
> > pages are most popular, understand what features users are most
> interested
> > in. I think this can go a long way.
> >
> > Thoughts? If folks think this sounds interesting, I'd like to request a
> > Matomo site ID from Apache Privacy so we can get this started.
> >
> > Thanks,
> > Weichiu
> >
>