QPR Google Analytics
QPR Portal Usage Reporting Powered by Google Analytics
Overview
This technical solution implements QPR Portal usage tracking and reporting using Google Analytics. The solution can be used to analyze QPR portal usage to answer e.g. following questions:
- -What content is viewed (process models, process levels)
- - What kind of views has been used, e.g. flow chart or navigator
- - Which users have been most active
- - What portal functionality has been used, such as full screen, zooming, bookmarks.
- - Which external links and information items has been opened.
Google Analytics tracking records Page views and Events. A page view occurs when content is opened, e.g. process chart or navigator view. Event occurs when a button in portal is clicked, e.g. full screen.
Using Google Analytics requires installing attached QPR Portal customizations.
More information related to Google Analytics:
Page views
Following information is reported to Google Analytics in page views:
- - Page: Model name and full process level path (or scorecard path)
- - Title: main tab and sub tab, such as “Processes/Proce-ss Maps”
- - Dimension1: User full name
Google Analytics - Data collection principles
Technology
Google Analytics is implemented with "page tags". In Google Analytics, a page tag is called the Tracking Code which is JavaScript code that the website owner adds to every page of the website. This code has been modified by QPR to allow wider reporting capabilities and to function in the QPR Portal environment. The tracking code runs in the visitor’s browser and collects visitor data and sends it to a Google data collection server as part of a request for a web beacon.
The tracking code sets first party cookies on visitor's computer. These cookies store anonymous information such as whether the visitor has been to the site before (new or returning visitor), the timestamp of the current visit, and the referrer site or campaign that directed the visitor to the page.
Limitations
Ad filtering programs and extensions (such as Firefox's Adblock and NoScript) can block the Google Analytics Tracking Code. This prevents some traffic and users from being tracked, and may lead to holes in the collected data. JavaScript needs to be available and enabled in the browser.
Blocking or deleting Google Analytics cookies may impact data accuracy. Without cookies being set, Google Analytics cannot collect data.
Google Analytics uses sampling in generation of some of its reports. Google Analytics limits reports to 500,000 randomly sampled visits at the profile level for its calculations.
Privacy
Whenever someone visits a website that uses Google Analytics, if JavaScript is enabled in the browser, then Google tracks that visit via the user's IP address in order to determine the user's approximate geographic location. However, the IP address is not shown on any reports as it is against the Google Analytics privacy policy to store personally identifiable information.
adding custom Dimensions in Google Analytics for QPR Portal
1. After logging in to Google Analytics navigate to “Admin” page
2. Navigate to Property → Custom Definitions → Custom Dimensions
3. Add the following Custom Dimensions (1-5) in correct order:
Custom reports
“Users” report
1. Customization → New Custom Report
2. Change the values according to the image below and click “save”: Note: Metrics may be altered according to reporting needs; “Pageviews” is the essential metric in this report. Such as “Avg. visit duration” or “Pages / Visit” may be of use.
“Pages / User” shortcut
1. Navigate to “Users” report
2. Make this view a shortcut and name it “Pages / User” (we will make a small change on the report and thus change the name)
3. Now it can be seen under Shortcuts
4. Add a secondary dimension “Page”
5. Click “save” on the top left corner. Note: The idea of the shortcuts is to enforce current configurations and customizations of the reports, thus preserving them