diff --git a/packages/docs/README.md b/packages/docs/README.md index 480b023cb..78bf7f75b 100644 --- a/packages/docs/README.md +++ b/packages/docs/README.md @@ -44,7 +44,6 @@ docs │ ├── katex │ ├── .nojekyll │ ├── CNAME -│ └── matomo.js ├── .gitignore ├── .prettierrc ├── docusaurus.config.js diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.js index 71ff538dd..66e8301cf 100644 --- a/packages/docs/docusaurus.config.js +++ b/packages/docs/docusaurus.config.js @@ -156,8 +156,8 @@ module.exports = { ], scripts: [ { - src: `/matomo.js`, - async: true, + src: 'https://plausible.standardnotes.com/js/plausible.js', + "data-domain": 'docs.standardnotes.com', defer: true, }, ], diff --git a/packages/docs/static/matomo.js b/packages/docs/static/matomo.js deleted file mode 100644 index eb1c02d57..000000000 --- a/packages/docs/static/matomo.js +++ /dev/null @@ -1,11 +0,0 @@ -var _paq = window._paq || []; -/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ -_paq.push(['trackPageView']); -_paq.push(['enableLinkTracking']); -(function() { - var u="//matomo.standardnotes.org/"; - _paq.push(['setTrackerUrl', u+'matomo.php']); - _paq.push(['setSiteId', '7']); - 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+'matomo.js'; s.parentNode.insertBefore(g,s); -})(); \ No newline at end of file