Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摑 Docs: Remove Matomo from the website #5118

Open
3 tasks done
JoshuaKGoldberg opened this issue Mar 12, 2024 · 1 comment
Open
3 tasks done

馃摑 Docs: Remove Matomo from the website #5118

JoshuaKGoldberg opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels
area: documentation anything involving docs or mochajs.org status: blocked Waiting for something else to be resolved type: cleanup a refactor

Comments

@JoshuaKGoldberg
Copy link
Member

Documentation Request Checklist

Overview

We don't need the analytics and don't want to collect user data. Let's remove it. 馃敧

Additional Info

No response

@JoshuaKGoldberg JoshuaKGoldberg added status: accepting prs Mocha can use your help with this one! area: documentation anything involving docs or mochajs.org type: cleanup a refactor labels Mar 12, 2024
@JoshuaKGoldberg JoshuaKGoldberg self-assigned this Mar 12, 2024
@JoshuaKGoldberg
Copy link
Member Author

TIL https://mochajs.matomo.cloud exists and is public. It's not referenced in our repo anywhere and we don't have any Netlify integrations. So I don't know how this is getting added to the site:

<!-- Matomo -->
<script type="text/javascript">
  var _paq = _paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="https://mochajs.matomo.cloud/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', '1']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Matomo Code -->

This might be something in Cloudflare. Which I don't have access to yet. Marking as blocked.

@JoshuaKGoldberg JoshuaKGoldberg added status: blocked Waiting for something else to be resolved and removed status: accepting prs Mocha can use your help with this one! labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: documentation anything involving docs or mochajs.org status: blocked Waiting for something else to be resolved type: cleanup a refactor
Projects
None yet
Development

No branches or pull requests

1 participant