QPR Google Analytics

From Mea Wiki
Revision as of 10:44, 8 June 2017 by MatJunk (talk | contribs)
Jump to navigation Jump to search

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)


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

File:Snipped 11.PNG

2. Navigate to Property → Custom Definitions → Custom Dimensions


File:Snipped 12.PNG

3. Add the following Custom Dimensions (1-5) in correct order:


File:Snipped 13.PNG

Custom reports

“Users” report

1. Customization → New Custom Report


File:Snipped 14.PNG

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.

File:Snipped 15.PNG

“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)

File:Snipped 16.PNG


3. Now it can be seen under Shortcuts

File:Snipped 17.PNG

4. Add a secondary dimension “Page”

File:Snipped 18.PNG

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