Skip to content

Commit

Permalink
chore(docs): fix custom javascript (#203)
Browse files Browse the repository at this point in the history
Fix custom javascript
  • Loading branch information
dfranco committed Jan 2, 2024
1 parent d572a48 commit 0a8df5a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/source/_static/js/custom.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://baculaweb.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function () {
var u = "https://baculaweb.matomo.cloud/";
_paq.push(['setTrackerUrl', u + 'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='//cdn.matomo.cloud/baculaweb.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
g.async = true;
g.src = '//cdn.matomo.cloud/baculaweb.matomo.cloud/matomo.js';
s.parentNode.insertBefore(g, s);
})();
</script>
<!-- End Matomo Code -->

0 comments on commit 0a8df5a

Please sign in to comment.