Google Analytics

Video – How to set up the Google Analytics module

In order to use the Google Analytics module, first you need to fill out some settings.

After creating a project you must fill out the following options:

  • Your client id: From the APIs console.
  • Your client secret: From the APIs console.
  • Redirect URI: Url to your app, must match one in the APIs console.
  • Profile ID: Select your website profile from list. If list is empty please authorize first the app.
  • Add Google Analytics javascript code on all pages.
  • Google Analytics ID: Your Google Analytics ID to be used in tracking script
  • Google Webmaster Tools

How to make a new project

1.Go to https://console.developers.google.com and Create New Project.

 

project

2. Under library enable the analytics API

pasul2
3. Under Credentials  -> Create credentials Button -> Oauth Clint ID

pasul3

The Application Type must be Web Application

pasul4

On Authorized Redirect URL, you must add the Redirect URL from Google Analytics Settings.

 

4. After you created the new client ID, you will have the Your client id and Client Secret.

pasul5

5. Make sure you save the Settings. After that Click on Authorize APP.

A pop’up box will open, where you must allow access to the analytics account.

accept

After you accept it, select your profile ID.

 

authorize6. SAVE THE SETTINGS

 

02_monitorgooa