Add Matomo analytics
Summary
SRCT uses a standardized analytics platform called Matomo. This allows us to track things like user activity and page views. To add Matomo to Schedules, all that needs to be done is to place the following script in the body section of schedules_web/index.html
:
<script type="text/javascript">
/*
The following code is generated by matomo to use for analytics.
*/
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function () {
var u = "//matomo.srct.gmu.edu/";
_paq.push(['setTrackerUrl', u + 'piwik.php']);
_paq.push(['setSiteId', '2']);
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>
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information