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.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
configuration:usage_stats [2016/09/21 12:29] – created demiankatz | configuration:usage_stats [2023/11/09 19:17] – 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 ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ==== 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. | ||
+ | |||
+ | * 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 Channels option to explore how visitors are finding your website.\\ On the sidebar menu, navigate to Acquisition -> All Traffic -> Channels\\ This will show you the amount of traffic the site is receiving from search engine queries (Organic searches), from users going directly to the website (Direct), from social media (Social), and from other sites referring traffic to your site (Referral). You can click on one of the traffic channels, such as Referrals, and then set the " | ||
+ | |||
+ | * Discover the most popular content on your website.\\ On the sidebar menu, navigate to Behavior -> Site Content -> Content Drilldown. In the main pane select /vufind/ in the Page path level 1 column.\\ To see the most frequently visited records, click on /Record/ and click on the Unique Pageviews column to sort the data from highest to lowest value. You can repeat these steps for /Searches/ to see which searches are most common. | ||
+ | |||
+ | In addition to the above tips Google Spreadsheet now has an [[https:// | ||
+ | |||
+ | ===== Matomo 4+ ===== | ||
+ | |||
+ | // Available starting with VuFind® 8.0. // | ||
+ | |||
+ | (see also legacy Piwik/ | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | 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 ==== | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | Replace (line 2): | ||
+ | |||
+ | < | ||
+ | piwik([' | ||
+ | </ | ||
+ | |||
+ | with: | ||
+ | |||
+ | < | ||
+ | piwik()?> | ||
+ | </ | ||
+ | |||
+ | 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. | ||
+ | |||
+ | ===== Google Tag Manager ===== | ||
+ | |||
+ | // Available starting with VuFind® 9.0. // | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Configure 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 ===== | ===== Built-In Statistics Collection ===== | ||
- | The [Statistics] section of [[configuration: | + | :!::!: 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. :!::!: |
+ | |||
+ | The [Statistics] section of [[configuration: | ||
* A MySQL database table | * A MySQL database table | ||
Line 13: | Line 102: | ||
* A file on disk | * A file on disk | ||
- | Reports on this data can be generated in VuFind's administration module; some targets support more detailed reports than others (with "file on disk" offering the fewest options). | + | Reports on this data can be generated in VuFind®'s administration module; some targets support more detailed reports than others (with "file on disk" offering the fewest options). |
- | + | ||
- | :!: VuFind' | + | |
- | + | ||
- | ===== Google Analytics ===== | + | |
- | + | ||
- | [[https:// | + | |
- | ===== Piwik ===== | + | :!: VuFind®' |
- | [[https:// | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
configuration/usage_stats.txt · Last modified: 2023/11/09 19:18 by demiankatz