Hi Konrad,
Thanks for reaching out. Happy to help. I've created Apache Sling in
Matomo. The tracking code you'll need to implement (it's recommend to place
the code just before the </head> tag) is as follows:
<!-- 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', '6']);
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 can access the user interface and your results at
https://matomo.privacy.apache.org/
If you need any help with the implementation, feel free to reach out.
Best regards,
Martijn Visser
https://twitter.com/MartijnVisser82
On Mon, 14 Mar 2022 at 11:55, Konrad Windszus <[email protected]> wrote:
> Hi,
> I would like to request a Matomo Site ID for Apache Sling.
>
> Thanks in advance,
> Konrad (on behalf of the Apache Sling PMC)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>