Hello
I have Matomo successfully installed on domain analytics.example1.com/matomo. And it works great!
I am using it on example2.com.
The only question I have is: I want to exclude myself from the statistics, I tried the following:
Settings > Personal > Settings > “click here to place a cookie to exclude yourself from Matomo Analytics”.
I clicked it, but it doesn’t work. My visits are still logged.
I am using Safari on MacOS.
Tag included:
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
function embedTrackingCode() {
var u="https://analytics.example1.com/matomo//";
_paq.push(["setTrackerUrl", u+"matomo.php"]);
_paq.push(["setSiteId", "1"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src=u+"matomo.js"; s.parentNode.insertBefore(g,s);
}
if (window.addEventListener) {
window.addEventListener("load", embedTrackingCode, false);
} else if (window.attachEvent) {
window.attachEvent("onload",embedTrackingCode);
} else {
embedTrackingCode();
}
</script>
<!-- End Matomo Code -->
How to solve this? Also: Is it possible to delete a ‘visitor profile’ from the statistics already logged (my own profile)?
Thanks! For the remaining parts Matomo works great, switched from Google Analytics to guarantee privacy and safety for my users and clients.
3 posts - 2 participants