Configuring Google Analytics Tracking

Once you have enabled Google Analytics, you can track the following:

  • All UI Pages (this can be turned on/off, 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:

  1. Sign in to your Google Analytics account.

  2. Navigate to a view in which you want to set up Site Search.

  3. Click View Settings.

  4. Under Site Search Settings, set Site Search Tracking to ON.

  5. 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.