[% IF !ctx.is_staff %]
[% INCLUDE 'opac/parts/goog_analytics.tt2' %]
+ [% INCLUDE 'opac/parts/matomo_analytics.tt2' %]
[% END %]
[% PROCESS 'opac/parts/stripe.tt2' %]
</head>
--- /dev/null
+[%- PROCESS "opac/parts/header.tt2";
+ IF matomo_analytics.enabled == 'true' -%]
+<!-- Matomo -->
+<script type="text/javascript">
+ var _paq = window._paq || [];
+ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+ _paq.push(['trackPageView']);
+ _paq.push(['enableLinkTracking']);
+ (function() {
+ var u="[% matomo_analytics.url %]";
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
+ _paq.push(['setSiteId', '[% matomo_analytics.site %]']);
+ 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+'matomo.js'; s.parentNode.insertBefore(g,s);
+ })();
+</script>
+<!-- End Matomo Code -->
+[%- END -%]
the value of google_analytics.enabled to true and change the value of
_google_analytics.code_ to be the code in your Google Analytics account.
+=== Matomo Analytics ===
+
+Matomo Analytics (https://matomo.org/) is free software that you can host
+yourself, so that you can collect web site statistics without sharing your
+users' data with third parties. Statistic tracking is disabled by default
+through the Evergreen client software when library staff use your site within
+the client, but active when anyone uses the site without the client. This was
+a preventive measure to reduce the potential risks for leaking patron
+information. To use Matomo Analytics you need to:
+
+. Set up a hosted instance of Matomo
+. Add your Evergreen catalogue as a site
+
=== NoveList ===
Novelist is a subscription-based service providing reviews and recommendation
** hiding the *Place Hold* button for available items
** enabling RefWorks support for citation management
** adding OpenURL resolution for electronic resources
- ** enabling Google Analytics tracking for your TPAC
+ ** enabling Google Analytics or Matomo Analytics tracking for your TPAC
** displaying the "Forgot your password?" prompt
** controlling the size of cover art on the record details page
** defining which facets to display, and in which order