Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit ae5ef84

Browse files
authored
Update docs from piwik to matomo
1 parent fb098e0 commit ae5ef84

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/source/_static/piwik.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
var _paq = _paq || [];
1+
var _paq = window._paq || [];
22
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
33
_paq.push(["setCookieDomain", "*.upribox.org"]);
4+
_paq.push(["setDomains", ["*.upribox.org","*.docs.upribox.org"]]);
45
_paq.push(['trackPageView']);
56
_paq.push(['enableLinkTracking']);
67
(function() {
7-
var u="//piwik.nysos.net/";
8-
_paq.push(['setTrackerUrl', u+'piwik.php']);
8+
var u="https://matomo.nysos.net/";
9+
_paq.push(['setTrackerUrl', u+'matomo.php']);
910
_paq.push(['setSiteId', '1']);
1011
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
11-
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
12-
})();
12+
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
13+
})();

0 commit comments

Comments
 (0)