Altair® Panopticon

 

Google Analytics Streaming

The Google Analytics Streaming connector allows you to track and report website traffic using the Google Analytics Streaming service.

Before using this connector, the following steps must be performed:

  1. Configure the Google Analytics OAuth Account Authentication

  2. Enable the Analytics API

  3. Set Edit Permissions to the Service Account ID

  4. Extract the Profile ID from the URL

1. Configuring OAuth Client Authentication for the Google Analytics Streaming Connector

The authentication mode needs to be enabled from the account email that you will use.

  1. Go to http://console.developers.google.com and log-on using your credentials.

The APIs & Services is displayed.

The Google Analytics Streaming connector works on an OAuth client authentication mode. To create an OAuth client, you must first create a project.

  1. Click Credentials.

  1. Click Create Credentials and choose OAuth client ID to create credentials for the OAuth client authentication.

The Credentials page is refreshed to display:

  1. Click the Web application Application Type. The Create OAuth client ID page is refreshed to display:

  1. Enter the Name and click Create.

The OAuth Client dialog displays with the generated Client ID and Client Secret. NOTE: Make sure to copy these values then click OK.

You are again brought back to the Credentials page.

 

2. Enabling Analytics API

  1. On the APIs & Services section, click Library to display the API Library page and select Google Analytics API.

 

The Google Analytics API page is displayed.

 

 

  1. Click ENABLE.

 

3. Setting Edit Permissions to the Service Account ID

Before using the Google Analytics Streaming connector, users must request for their service provider account access from the administrator.

  1. Send the generated service account ID to the Google Analytics Streaming administrator.

  2. The administrator grants permissions to the user in the Admin > User Management page in their Google Analytics account.

 

  1. The administrator must ensure to give Edit permission to the user.

 

4. Extracting Profile ID from the URL

Aside from the Service Account ID and the key file, you also need to extract the Profile ID from the URL in order to connect to the Google Analytics Streaming connector in Panopticon Designer (Desktop).

  1. Go to http://analytics.google.com and sign in.

The Google Analytics account page is displayed.

NOTE: Initially, there is no data displayed on the dashboard.

  1. Check the URL. For example: https://analytics.google.com/analytics/web/#/report-home/a141137636w202161341p196007843

All of the digits that follow p is the Profile ID (e.g., 196007843)

 

Using Google Analytics Streaming

The Google Analytics Streaming connector allows you to track and report website traffic using the Google Analytics Streaming service.

  1. Launch the Connect to Data dialog and then select Google Analytics Streaming.

The Google Analytics Connection dialog displays.

 

  1. Provide the following information:

    • User Name

The Google email (gmail) account used.

    • Client ID

The OAuth Client ID.

    • Client Secret

The Oauth Client Secret value.

    • Profile ID

The Profile ID of the page you want to access in Google Analytics Streaming.

  1. Select one or more Metrics. Click on one or use the Shift or Ctrl key to select multiple values.

  2. Select one or more Dimensions. Click on one or use the Shift or Ctrl key to select multiple values.

  3. Click Generate Columns.

This populates the Id Column list box.

  1. Expand Real-Time Settings.

Refer to Defining Real-Time Settings for more information.

  1. Click OK to confirm the selection and retrieve the record set into Panopticon Designer.

Initially, there is no data displayed in the Data Source Preview section of the Edit Data Table window.

Click the Start Preview button to display the data and refresh the values depending on the defined Refresh Period.