Hi Divij Vaidya,

Here's the tracking code for Apache Kafka:

    <!-- 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', '26']);
        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 -->

You'll need to include this in each page you want to track by including the
code prior to the closing </head> tag. The results can be found at
https://analytics.apache.org/index.php?module=CoreHome&action=index&date=yesterday&period=day&idSite=26

If you have any more questions, feel free to reach out.

Best regards,

Martijn

Op di 19 jul. 2022 om 10:36 schreef Divij Vaidya <divijvaidy...@gmail.com>:

> Hello
>
> We, at Apache Kafka, are migrating from Google Analytics to Apache hosted
> Matomo as per the instructions at
> https://privacy.apache.org/faq/committers.html. Our website homepage is
> https://kafka.apache.org/
>
> Please give us the site Id and the tracking code to use. Our tracking
> ticket for making the website GDPR compliant is
> https://issues.apache.org/jira/browse/KAFKA-13868
>
> Thank you.
>
> Regards,
> Divij Vaidya
>

Reply via email to