Menu

#688 Client-ID and Client-Secret

Parent Category:
Documentation
Category:
GAnalytics
Last Updated:
Allon Moritz, Thursday, 04 August 2016 16:18 (Thursday, 04 August 2016)
Created:
Saturday, 07 April 2012 11:54 (Saturday, 07 April 2012)
Hits:
22153

Information

Since the analytics API version 3 google requires for every API access a client ID and secret. This page describes how to obtain them and place add them into GAnalytics.

More information about the google developer console can be found here.

Enable the API

Navigate to https://console.developers.google.com and log in with your google account. Create a project if you don't have one and enable the GAnalytics API.
google search api

Create the Client

Click on Create credentials and then on OAutho client ID. Choose Web application as application type and fill a name like GAnalytics API Access.
google create client id

Define the redirect urls

After you have set the name, define the redirect urls as follows:

http://{server-domain}/{path-to-joomla}/administrator/index.php?option=com_ganalytics&view=import
For example the url for the demo site looks like
http://joomla.digital-peak.com/demo/ga/administrator/index.php?option=com_ganalytics&view=import

Click the Create button.

google create credentials

GAnalytics config

Put the client ID and secret into the GAnalytics options.

google client id secret client id secret options

You are ready now to import your Google Analytics profiles.

Comments (0)

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.