Enabling and Configuring Google Analytics
Enabling Google Analytics
Google Analytics is a free Web analytics service that provides statistics and basic analytical tools for tracking usage of Navigo.
Google Analytics is available to anyone with a Google account. If you need a Google Analytics account, you can create one for free.
Once you have an account, the next step is to configure tracking:
Find your tracking code, tracking ID and property number in your Google Analytics account
Enter the tracking code into Voyager
Finding Tracking Information
To find the tracking code, tracking ID, or property number in your Google Analytics account:
Sign in to your Google Analytics account
Select the Admin tab
Select the account associated with Navigo using the ACCOUNT drop-down menu
Select the property that you want to use with Voyager from the PROPERTY drop-down menu
NOTE: Google Analytics defines a property as a resource associated with your tracking code, in this case your Voyager Instance. To learn how to create a Property, if you haven't already done so, please refer to the Google Analytics documentation here.
Click Tracking Info > Tracking Code, which shows the Tracking ID
Entering Tracking Information in Voyager
To enter the Tracking ID in Voyager:
Go to Manage > Settings > Analytics
Copy and paste the Tracking ID into the Google Analytics Key field
To verify tracking code configuration, go to the Real-Time section of your Google Analytics page.
Depending on when you created the Google Analytics PROPERTY, it may take a a few minutes before your tracking results are displayed.
Configuring Google Analytics Tracking
Once you have enabled Google Analytics, you can track the following:
All Manage UI Pages (this can be turned on/off, it is ON by default)
Home
Search
Portal
Processing
Details
Page view
Unique Page views
Time on Page
Entrances
Bounce Rate
Sessions
Custom Events listed in the following table:
Event | Category | Label | Value |
Search | Time | SolrQuery | Total Seconds |
Search | Size | SolrQuery | Results Size |
Search Group | Group Name | SolrQuery | N/A |
Download | Results | Format | N/A |
OpenWith | Results | URL | N/A |
Add To List (Queue) | Results | Card | N/A |
Remove From List (Queue) | Results | Card | N/A |
Add To List (Queue) | Results | Table | N/A |
Remove From List (Queue) | Results | Table | N/A |
Saved-Search | Save | N/A | N/A |
Saved-Search | Run | N/A | N/A |
Saved-Search | Delete | N/A | N/A |
Add To Map | Results | Format |
|
Add To Map | Error | Format |
|
Process | Task Type | State (Success/Fail) |
|
Error (all ajax errors) | HTTP | URL | HTTP Status |
User Tracking
Upon login, the username is sent to Google Analytics. If the username contains any personally identifiable info (user's actual name, email, etc.), Google Analytics doesn't allow capturing it.
Reporting
Google Analytics offers a flexible query and reporting solution. You can filter by any field above or any combination of fields. For example:
Search Events by Time
Search Events by Size
Search Events by Time within N seconds
Search Events by Size within N result count
Downloads of a certain Format
Number of Saved Searches performed
Number of Tasks Run by Type
Number of Tasks Run by Type and Success/Failure
Setting up Analytics for Site Searches
Google Analytics Site Search must be set up for each reporting view in which you want to see user search activity. To set up Site Search for a view:
Sign in to your Google Analytics account.
Navigate to a view in which you want to set up Site Search.
Click View Settings.
Under Site Search Settings, set Site Search Tracking to ON.
In the Query Parameter field, enter the word or words, maximum of 5, that you'd like to designate a query parameter. Below is a list of example parameters you can use.
Example Query Parameters:
Text Query | q |
Spatial Constraint | bbox |
Placefinder | place |
View (Card, List, Map, etc.) | view |
Display | disp |
Any facet* | f.{facet_name} |
NOTE: Facets are essentially the fields in your index. You can use any field as a query parameter in your analytics.