Skip to content

Commit

Permalink
Merge from stable to master: v0.9.3
Browse files Browse the repository at this point in the history
Merge pull request #110 from CSCfi/stable
  • Loading branch information
junsk1 authored Sep 3, 2018
2 parents 30e1ba8 + 0040479 commit d99758e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions etsin_finder/frontend/static/index.template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,23 @@
}
}
</style>
<% if(process.env.MATOMO === 'true') { %>
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.rahtiapp.fi/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '3']);
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);
})();
</script>
<!-- End Matomo Code -->
<% } %>
</head>

<body>
Expand Down

0 comments on commit d99758e

Please sign in to comment.