Verified Commit 07c40f5d authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

fix matomo config

parent 26588284
......@@ -9,7 +9,6 @@ execute:
sphinx:
config:
html_js_files:
- matomo.js
- https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js
- - https://cdn.bokeh.org/bokeh/release/bokeh-2.2.3.min.js
- crossorigin: anonymous
......
var _paq = _paq || [];
// tracker methods like "setCustomDimension" should be called before "trackPageView"
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.kwant-project.org/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '6']);
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+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setCookieDomain", "*.topocondmat.org"]);
_paq.push(["setDomains", ["*.topocondmat.org","*.test.topocondmat.org","*.www.topocondmat.org"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://piwik.kwant-project.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '4']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment