3 Support for the open source web analytics platform Matomo is now
4 native to Evergreen. Support is on an org unit level so different
5 libraries can have separate or no analytics. Once you setup
6 a Matomo service you will need the URL and site ID. Typically
7 Matomo will give you a block of javascript you can insert into
8 web sites. One line will look like :
10 var u="http://mylibrary.lib/matomo/";
12 The full URL in the double quotes will be your URL. Another line
15 _paq.push(['setSiteId', '1']);
17 In this case the number 1 will be your site ID.
19 These are set by YOAUSes opac.analytics.matomo_url and
20 opac.analytics.matomo_id respectively. There is also a boolean
21 setting called opac.analytics.use_matomo which determines if
22 it is used at all. Three new permsisions control access to
25 UPDATE_ORG_UNIT_SETTING.opac.analytics.matomo_id
26 UPDATE_ORG_UNIT_SETTING.opac.analytics.matomo_url
27 UPDATE_ORG_UNIT_SETTING.opac.analytics.use_matomo