Warning: This page has not been updated in over over a year and may be outdated or deprecated.
configuration:usage_stats
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
configuration:usage_stats [2018/06/12 12:39] – demiankatz | configuration:usage_stats [2023/11/09 19:18] (current) – demiankatz | ||
---|---|---|---|
Line 3: | Line 3: | ||
It is often extremely helpful to measure user behavior in order to evaluate strengths and weaknesses of your user interface, your indexing rules and your underlying collection. | It is often extremely helpful to measure user behavior in order to evaluate strengths and weaknesses of your user interface, your indexing rules and your underlying collection. | ||
- | VuFind | + | VuFind® |
===== Google Analytics ===== | ===== Google Analytics ===== | ||
- | [[https:// | + | [[https:// |
==== Some Tips for Using Google Analytics ==== | ==== Some Tips for Using Google Analytics ==== | ||
- | Google Analytics provides a variety of ways to track web traffic to gain a better understanding of how users find and use your website. | + | Google Analytics provides a variety of ways to track web traffic to gain a better understanding of how users find and use your website. |
* Use the Content Drilldown option to examine what parts of the site users are visiting.\\ On the sidebar menu, navigate to Behavior -> Site Content -> Content Drilldown. In the main pane select /vufind/ in the Page path level 1 column.\\ This will show you the number of page views of records (/ | * Use the Content Drilldown option to examine what parts of the site users are visiting.\\ On the sidebar menu, navigate to Behavior -> Site Content -> Content Drilldown. In the main pane select /vufind/ in the Page path level 1 column.\\ This will show you the number of page views of records (/ | ||
Line 20: | Line 20: | ||
In addition to the above tips Google Spreadsheet now has an [[https:// | In addition to the above tips Google Spreadsheet now has an [[https:// | ||
- | ===== Piwik ===== | ||
- | [[https://piwik.org/|Piwik]] is an open source project which offers similar functionality to Google Analytics but allows the data to be collected to a locally-hosted server rather than a third-party service. For libraries with concerns about privacy and applications of user-generated data, this may be a preferred option. The [Piwik] section of [[configuration: | + | ===== Matomo 4+ ===== |
+ | |||
+ | // Available starting with VuFind® 8.0. // | ||
+ | |||
+ | (see also legacy Piwik/ | ||
+ | |||
+ | [[https://matomo.org/|Matomo]] (formerly called Piwik) | ||
+ | |||
+ | Enabling tracking with [Matomo] section instead of the legacy [Piwik] section is recommended whenever possible, as it uses newer tracking code and also provides support for Custom Dimensions in Matomo. Matomo recommends using Custom Dimensions instead of Custom Variables. See https:// | ||
+ | |||
+ | ==== Tips and Notes ==== | ||
+ | |||
+ | Custom Variables and Custom Dimensions are not tracked when the content is loaded using AJAX (for example, when using AJAX tabs on the record view, or when tabs or accordion segments are loaded with the list view set to " | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Replace (line 3): | ||
+ | |||
+ | < | ||
+ | <? | ||
+ | </ | ||
+ | |||
+ | with: | ||
+ | |||
+ | < | ||
+ | <? | ||
+ | </ | ||
+ | |||
+ | This may skew your results in unpredictable ways, so be sure to test carefully. It may be necessary to create a special custom layout template and adjust additional code if you wish to track AJAX statistics in some cases but not others. | ||
+ | |||
+ | |||
+ | ===== Piwik/ | ||
+ | |||
+ | The [Piwik] section of [[configuration: | ||
==== Tips and Notes ==== | ==== Tips and Notes ==== | ||
Line 28: | Line 60: | ||
Custom variables are not tracked when the content is loaded using AJAX (for example, when using AJAX tabs on the record view, or when tabs or accordion segments are loaded with the list view set to " | Custom variables are not tracked when the content is loaded using AJAX (for example, when using AJAX tabs on the record view, or when tabs or accordion segments are loaded with the list view set to " | ||
- | [[https:// | + | [[https:// |
Replace (line 2): | Replace (line 2): | ||
Line 44: | Line 76: | ||
This may skew your results in unpredictable ways, so be sure to test carefully. It may be necessary to create a special custom layout template and adjust additional code if you wish to track AJAX statistics in some cases but not others. | This may skew your results in unpredictable ways, so be sure to test carefully. It may be necessary to create a special custom layout template and adjust additional code if you wish to track AJAX statistics in some cases but not others. | ||
- | ===== Built-In Statistics Collection | + | ===== Google Tag Manager |
- | :!::!: This feature was disabled in VuFind 4.0; it is strongly recommended that you use Google Analytics or Piwik instead, as these are more robust solutions. :!::!: | + | // Available starting with VuFind® 9.0. // |
- | The [Statistics] section | + | [[https:// |
- | * A MySQL database table | + | Configure VuFind®' |
- | * A Solr index | + | |
- | * A file on disk | + | |
- | Reports on this data can be generated in VuFind' | + | ==== Enhanced UI Tracking with GTM and GA4 ==== |
+ | |||
+ | Event Tracking in GA can be used to measure the use of particular UI features beyond page navigation. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Built-In Statistics Collection ===== | ||
- | :!: VuFind' | + | :!: Early versions of VuFind® included |
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
configuration/usage_stats.1528807177.txt.gz · Last modified: 2018/06/12 12:39 by demiankatz