How to get Google Analytics API Keys

In this tutorial we will explain how you can enable Google Analytics within RSSeo! and how to get your keys required for authentication.

Important:

You'll need at least RSSeo! version 1.18.19 (changelog), otherwise, updating your extension can be done as instructed here.

Steps you need to take:
  1. Access Google APIs Console.

  2. Login using your Google account and Create a new Project.

  3. Add a project name and click on the "Create" button (wait a few moments after you click the create button to load your project, otherwise you can manually select it).

  4. In the Dashboard view, click on Analytics API link.

  5. Enable the "Analytics API" by clicking on the "Enable" button at the top.

  6. Next click on the Create Credentials button and select OAuth client ID option.

  7. Click on the "Configure consent screen" button.

  8. Add a 'Product name' (this can be anything, for example RSSeo! - Analytics) and click on the Save button.

  9. Select the 'Web Application' option on the next page. Within 'Authorized redirect URIs' add the following (examples, use https:// if you're using a secure connection):

    http://myWebsite.com/administrator/index.php?option=com_rsseo&task=analytics.connect

    Important: The links themselves have to be precisely added. For example, if you're accessing the website using www. or without www., you'll have to specify this as well. Examples:

    http://www.myWebsite.com/administrator/index.php?option=com_rsseo&task=analytics.connect

    http://myWebsite.com/administrator/index.php?option=com_rsseo&task=analytics.connect

  10. Click on the "Create" button.

  11. Your "Client ID" and the "Client secret" keys will be generated (these will be used within your RSSeo! configuration).

  12. Navigate to backend > Components > RSSeo! > here, click on the "Options" button, then Google Analytics.

  13. Setup your Google Analytics configuration:

    • Enable Google Analytics reports: enables the report functionality.
    • Google Client ID: this would be the Client ID key you've just generated (notice above picture).
    • Google Secret: your Google generated secret key (notice above picture).
  14. Save your configuration using the top button (your settings have to be saved first).

  15. Navigate to backend > Components > RSSeo! > Google Analytics.

  16. Press the "Authentificate" button.

  17. You will be redirected to Google which requests permissions to allow this data. Click on the "Accept" button.

  18. After being redirect back to your website, you'll have to select your account and click on the "Update" button (if you're using multiple accounts, you can use the logout button to switch between accounts).

    If everything is setup correctly your Google Analytics data will be displayed.

Note:

RSSeo! - Google Analytics tab, uses a session based functionality which lasts 1 hour. After 1 hour, you'll have to authenticate once again in order to view your Analytics data.


65 persons found this article helpful.


Was this article helpful?

Yes No
Sorry about that

You Should Also Read

Analytics Manager

Visitors

Page Rank always returns zero as a value

Google Keywords

Rich snippets