@@ -87,6 +87,7 @@ const config = {
8787 editLocalizedFiles : true ,
8888 } ,
8989 ] ,
90+ 'docusaurus-plugin-matomo'
9091 ] ,
9192 themeConfig : ( {
9293 image : 'img/logo.svg' ,
@@ -180,7 +181,7 @@ const config = {
180181 metadata : [
181182 {
182183 name : 'keywords' ,
183- content : 'apache, fesod, poi, opensource' ,
184+ content : 'apache, fesod, poi, opensource, fastexcel, easyexcel ' ,
184185 }
185186 ] ,
186187 footer : {
@@ -197,32 +198,16 @@ const config = {
197198 theme : prismThemes . github ,
198199 darkTheme : prismThemes . oneDark ,
199200 additionalLanguages : [ 'java' , 'bash' ]
201+ } ,
202+ matomo : {
203+ matomoUrl : 'https://analytics.apache.org/' ,
204+ siteId : '83' ,
205+ phpLoader : 'matomo.php' ,
206+ jsLoader : 'matomo.js' ,
200207 }
201208 } ) ,
202209 themes : [ '@docusaurus/theme-mermaid' ] ,
203- headTags : [
204- {
205- tagName : 'script' ,
206- attributes : {
207- type : 'text/javascript' ,
208- } ,
209- innerHTML : `
210- var _paq = window._paq = window._paq || [];
211- /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
212- _paq.push(["setDoNotTrack", true]);
213- _paq.push(["disableCookies"]);
214- _paq.push(['trackPageView']);
215- _paq.push(['enableLinkTracking']);
216- (function() {
217- var u="https://analytics.apache.org/";
218- _paq.push(['setTrackerUrl', u+'matomo.php']);
219- _paq.push(['setSiteId', '83']);
220- var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
221- g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
222- })();
223- ` ,
224- } ,
225- ] ,
210+ headTags : [ ] ,
226211 markdown : {
227212 format : 'md' ,
228213 mermaid : true ,
0 commit comments