Supported version: Cloud.
API Rate Limit: 10 requests per minute
OAuth 2.0 Authentication
Application Registration on Google
This document explains the steps to register the application and how to use it on Klera.
Step 1: Register application on Google API Console.
1. Login to the following URL:
IMPORTANT: You will need additional permissions from the Google Cloud Administrator or from IT department to register an application. Please enable Google Analytics & Google Analytics Reporting API, refer https://support.google.com/googleapi/answer/6158841?hl=en
2. Go-to ‘Credentials’
3. Click on ‘Create Credentials’
4. Choose ‘OAuth Client ID’
5. On ‘Create OAuth client ID’
a. Application type: Web Application
b. Name: Klera
c. Authorized redirect URIs : Redirect URL of Klera host.
Please NOTE that the "HostName-123.klera.com" will be your organization's HostName.domainName for the server where Klera is deployed. Please replace this part with your Klera Server's HostName.domainName in the URL given above and then use it.
IMPORTANT: 1. This URL should be accessible from the client machine from which end-user will access Klera. You may need to create a DNS entry or configure proxy accordingly to make this URL accessible.
2.Please make sure your Google Analytics instance must be accessible from the Klera Machine.
6. Copy Client ID and Client Secret and keep it safe. We will need this information in
the next step.
Step 2: Import Google Analytics Application Template on Klera.
- Right click on the floor, go to Connectors→ Import.
- Import the Google Analytics Connector.zip file.
- Right click on the floor, go to Connectors→ Show.
- Right click on the entity of column “Google Analytics Connector” and go to Connectors → Connections → Configure.
Enter the following details in the form:
a. Instance URL: https://www.googleapis.com
b. Application Key: Client ID received from Step 1- #6.
c. Application Secret: Client Secret received from Step-1 #6.
d. Authorization URL:
e. Access Token URL: https://oauth2.googleapis.com/token
f. Domain for Callback Authentication: Enter HostName with Domain Name used in step 1- #5.c
g. Scope: https://www.googleapis.com/auth/analytics.readonly
h. Click on ‘Save’.
i. On clicking ‘Save’, a pop-up will appear which requires Google
user to login using the credentials and choose ‘Allow access’ if asked in the
Important: Please make sure, the pop-up is not blocked by the chrome browser.
Step 3: Use Google Analytics Application Template
To start the analysis, right-click on the Floor -> Connectors-> Google Analytics -> <Operations>
The user will see different operations inside the Google Analytics Menu.