feat(docs): remove matomo in favour of plausible
This commit is contained in:
@@ -44,7 +44,6 @@ docs
|
|||||||
│ ├── katex
|
│ ├── katex
|
||||||
│ ├── .nojekyll
|
│ ├── .nojekyll
|
||||||
│ ├── CNAME
|
│ ├── CNAME
|
||||||
│ └── matomo.js
|
|
||||||
├── .gitignore
|
├── .gitignore
|
||||||
├── .prettierrc
|
├── .prettierrc
|
||||||
├── docusaurus.config.js
|
├── docusaurus.config.js
|
||||||
|
|||||||
@@ -156,8 +156,8 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
scripts: [
|
scripts: [
|
||||||
{
|
{
|
||||||
src: `/matomo.js`,
|
src: 'https://plausible.standardnotes.com/js/plausible.js',
|
||||||
async: true,
|
"data-domain": 'docs.standardnotes.com',
|
||||||
defer: true,
|
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