docsify
Version:
A magical documentation generator.
9 lines (8 loc) • 868 B
JavaScript
/*!
* Docsify Plugin: matomo v5.0.0
* https://docsify.js.org
* (c) 2017-2026
* MIT license
*/
!function(){"use strict";const o=globalThis;function t(t){o._paq=o._paq||[],o._paq.push(["trackPageView"]),o._paq.push(["enableLinkTracking"]),setTimeout((()=>{!function(o){const t=document.createElement("script");t.async=!0,t.src=o.host+"/matomo.js",document.body.appendChild(t)}(t),o._paq.push(["setTrackerUrl",t.host+"/matomo.php"]),o._paq.push(["setSiteId",String(t.id)])}),0)}function s(){o._paq||t(o.$docsify.matomo),o._paq.push(["setCustomUrl",o.location.hash.substr(1)]),o._paq.push(["setDocumentTitle",document.title]),o._paq.push(["trackPageView"])}o.$docsify=o.$docsify||{},o.$docsify.plugins=[function(t){o.$docsify.matomo?t.beforeEach(s):console.error("[Docsify] matomo is required.")},...o.$docsify.plugins||[]]}();
//# sourceMappingURL=matomo.min.js.map