4 Support for the open source web analytics platform Matomo is now
5 native to Evergreen. Support is on an org unit level so different
6 libraries can have separate or no analytics. Once you setup
7 a Matomo service you will need the URL and site ID. Typically
8 Matomo will give you a block of javascript you can insert into
9 web sites. One line will look like :
11 var u="http://mylibrary.lib/matomo/";
13 The full URL in the double quotes will be your URL. Another line
16 _paq.push(['setSiteId', '1']);
18 In this case the number 1 will be your site ID.
20 These are set by YOAUSes opac.analytics.matomo_url and
21 opac.analytics.matomo_id respectively. A new permsision,
22 MATOMO_UPDATE_SETTINGS, controls access to these.