Koha How-To

Koha Question of the Week: How Do I Get Useful OPAC Usage Reporting?

Each Friday, we will bring you a new Koha Question of the Week. We will select real questions that we receive and share the answers with you!

Question: How Do I Get Useful OPAC Usage Reporting?

Answer: Many libraries use Google Analytics for tracking their patron OPAC usage statistics. Since our last blog post on using Google Analytics, the embed code from Google has changed a bit.

For libraries using the Koha OPAC, that analytics code can be embedded in an HTML customization. This is located in Tools -> Additional Tools -> HTML Customizations.

There are a few pointers to bear in mind here:

Like news stories, HTML customizations need a start date to be "published" to the website.

For many libraries, the HTML editor opens in WYSIWYG editor format ("What you see is what you get" - a very user-friendly editor with a real-time preview of the contents). The <> button opens the source code view, which is where the Analytics code can be pasted.

A library can have multiple HTML customizations in a given type, so it is helpful to add 'Google Analytics' as a title to the entry to keep it separate from other customizations in that space as well as to help future staff identify it.

Additional Resources

Google Analytics for Partners Using Aspen Discovery

Koha 22.05: Consolidating OPAC Customizations in News/HTML customizations