The OpenScholar platform fully supports Google Analytics, which allows you to keep track of website visits, demographic information, most popular pages, and many other website metrics. Understanding your website analytics is crucial in ensuring that your website goals are successful. It can also be valuable tool for monitoring and revising specific content strategies. In addition, Google Analytics gives you access to a robust selection of reports which can be emailed to you on a scheduled basis.
Getting Started with Google Analytics
First, you will need a Google account. Follow these steps to set up a new Google account if you do not currently have one.
When you're ready, proceed to sign up for Google Analytics with your Google account. You will get a tracking ID to paste onto your OpenScholar website.
Google Analytics Properties
Google Analytics has two properties:
1. Google Analytics 4 Property:
Google Analytics 4 property provides a measurement ID that starts with G- XXXXX. OpenScholar does not support this property.
2. Universal Analytics Property:
- OpenScholar supports Universal Analytics property. It provides a tracking ID that starts with UA- XXXXXX. To create this property, navigate to Admin and click on + Create Property.
- Enter the Property name. Click on Show Advanced Options.
- Enable Create a Universal Analytics property. Enter the Website URL and select Create a Universal Analytics property only.
- Click Next.
- A new Google Analytics tracking ID will be created.
Adding Google Analytics to Your Website
Adding Google Analytics to your OpenScholar website is easy.
1. From your control panel, navigate to your Settings area
2. Select Global Settings
3. Select Google Analytics and enter your Google Analytics Universal Analytics Property Tracking ID into the field
4. Click the Save configuration button
Once this is saved, Google Analytics will automatically begin collecting data for your website. You'll need to log-in to your Google Analytics dashboard to view results.
Tracking Searches on Your Website
When setting up a Google Analytics profile, you can opt to track search terms. Reviewing the most frequent search terms on your website can be an effective way of gaining insight into what your website visitors are looking for.
In your Google Analytics account, go to Admin > View Settings, and switch the Site Search Settings to "on."
With the "Site search Tracking" option is enabled, you can access search reports by going to Behavior > Site Search
Click events for links and files are automatically tracked within OpenScholar. You don't need to configure anything extra to enable Event tracking. However you cannot modify how the information is being collected.
You can find the Events information within Google Analytics by going to Behavior > Events
Event tracking is organized into three areas, Category, Action and Label:
Groups click events into the following categories:
- Outbound Links - Clicks on links to external sources or websites
- Secondary Nav - Clicks on links within the OpenScholar secondary navigation menu
- Downloads - Clicks on links to files within the OpenScholar site
- Primary Nav - Clicks on on links within the OpenScholar primary navigation menu
The specific type of link/file that was clicked, such as a PDF, DOC, XLS, etc. (Note: Click is a non-file link)
Contains the full path the link or file
Tip: You can filter by multiple categories to get a list of specific links. For example, to see a list of downloads by file, you can click "Downloads", then filter by "Event Label":
3. Google Tag Manager Property:
Google Tag Manager settings allows sites to add GTM code to manage tags. Here is Google's documentation on how to set it up