feat(docs): remove matomo in favour of plausible
This commit is contained in:
@@ -44,7 +44,6 @@ docs
|
||||
│ ├── katex
|
||||
│ ├── .nojekyll
|
||||
│ ├── CNAME
|
||||
│ └── matomo.js
|
||||
├── .gitignore
|
||||
├── .prettierrc
|
||||
├── 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,
|
||||
},
|
||||
],
|
||||
|
||||
11
packages/docs/static/matomo.js
vendored
11
packages/docs/static/matomo.js
vendored
@@ -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);
|
||||
})();
|
||||
Reference in New Issue
Block a user