Skip to content
Snippets Groups Projects
Commit 09c0dab1 authored by mathias.chouet's avatar mathias.chouet
Browse files

#306 : add Matomo tracking to documentation

parent f0eb18df
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
# dependencies
/node_modules
/docs-fr/javascripts
/docs-fr/javascripts/mathjax
/src/date_revision.ts
# IDEs and editors
......
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stasi.g-eau.fr/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
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
......@@ -11,6 +11,7 @@ theme:
use_directory_urls: false
extra_javascript:
- javascripts/mathjax/MathJax.js?config=TeX-AMS_CHTML
- javascripts/matomo-tracking.js
markdown_extensions:
- mdx_math
- footnotes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment