Articles in this section

Setup Guide: ActivTrak for Qlik

Unlock the power of ActivConnect and access your ActivTrak data without requiring advanced SQL or BI knowledge. ActivConnect (Powered by BigQuery) leverages the native integration between Google BigQuery and Qlik to simplify access to your data. You’ll be able to access, analyze and visualize millions of rows of data in a simple way, allowing you to leverage the tools and techniques you are already familiar with, such as formulas, charts and pivot tables, while maintaining the data current through scheduled refresh options. 

ActivConnect is available as an add-on for customers on a paid plan. Learn more about ActivConnect here.

Contents

Pre-setup requirements

  • ActivTrak paid plan subscription and the ActivConnect API (Add-on). Learn more here.
  • ActivConnect user name and password will be in the format of [account_number]@activtrak.us. Your account number is located in the Account Information menu in ActivTrak. To access it, click the circle icon in the top right corner.
  • Valid Qlik Cloud license

Getting started

ActivTrak data can be brought into Qlik through ActivConnect, powered by BigQuery. In this guide, we’ll demonstrate how to create a Working Hours report using Qlik Cloud & ActivConnect. 

  1. On the dropdown menu, navigate to + Add New > Data Connection 
Qlik-1.png

 

  1. Search for BigQuery and select the Google BigQuery connector from the list of Data Sources
Qlik-2.png

 

  1. Ensure User Authentication is selected under the OAuth Mechanism
  2. Check the User-defined credentials option under the Account properties
  3. Click Authenticate. This will open a Google Authentication prompt. 
Qlik-3.png

 

  1. Use your [account_number]@activtrak.us credentials to authenticate.
  2. Click Continue when prompted.
Qlik-4.png

 

  1. Upon successful authentication, an authentication code will be generated.
  2. Copy the Authentication Code and return to Qlik to complete the account configuration
Qlik-5.png

 

  1. Paste the Authentication Code in the Google BigQuery Credentials configuration and click Verify
  2. You’ll see the Status change to Successfully Authenticated once completed.
Qlik-6.png

 

  1. Scroll down to the Database Properties section and click on Get Catalog
  2. Select us-activtrak-ac-prod from the catalog list
Qlik-7.png

 

  1. Click Test connection. If everything tests successfully, click Create and analyze to start building your ActivTrak reports.

Creating a Working Hours Report

  1. From the BigQuery Data Manager window, select your Account ID from the Owner dropdown. All the information required for the Working Hours report is contained within the daily_user_summary table.
  2. Select daily_user_summary  from the table list.
  3. Click Next when done

Note: Refer to ActivConnect’s Data Glossary to learn more about all the available fields.

Qlik-8.png

 

  1. Click Load data from the right menu options, and click Go to Sheet when completed
Qlik-9.png

 

  1. Select Create new analytics from the list of options
Qlik-10.png

 

  1. From the properties menu, click +Add to add the required fields. 
    For this exercise, we’ll use the following fields: 

Local_date
User_name
First_activity_datetime
Last_activity_datetime
Total_duration_seconds

Qlik-11.png

 

Additional formatting and data transformation

  1. Enable Advanced Options.
  2. Navigate to the total_duration_seconds metric
  3. Copy and paste the expression below into the Expression field. This will change the measure from seconds to hours and convert the format to a more user-friendly format. 

=TIME(([total_duration_seconds]/3600),'hh:mm:ss')

  1. Change the Label to Total Duration (Hrs).

Sorting content by date

  1. Navigate to the Properties menu and scroll down to the Presentation option
  2. Select Sorting and select local_date
  3. Select By dimension (Largest to Smallest)
  4. Click Edit Sheet to exit Edit Mode
Qlik-12.png

 

  1. Your completed report should look like the screenshot below. 
Qlik-13.png
Was this article helpful?
1 out of 1 found this helpful