Explain your problem, trying to provide as much detail as possible

Create Client ID and Client Secret

To access your Google Analytics data or Google sheets, you must be authenticated and authorized. To do this you will need to create a project in the Google console developer And get your Client ID and Client Secret.

Follow this step-by-step guide to avoid mistakes.

If you already have a Google API project, remember to enable the following services:

  1. Go to Google's developer console

    You can create a Google project for free by going to the console developer.

  2. Clickย Select a project โž New Project โžย buttonย Create.

    Use an existing project or create a new one.Create Client ID and Client Secret 1

  3. Enter the name of the project โžย click the buttonย Create

    Enter a name that will help you easily identify your project. You can also use the name of your site.Create Client ID and Client Secret 2

  4. Click the OAuth consent screen in the left menu โž choose User type โž click the Create button

    Create Client ID and Client Secret 3

  5. Add the application name โž the support email โž the authorized domain โž the developer content information โž click the Save and Continue button

    This step allows you to set up some basic data about your app that will be shown on the consent screen. The most important step is the one on the authorized URL. Enter your site correctly.Create Client ID and Client Secret 4

  6. Complete all 4 steps on the OAuth consent screen โž click the Back to Dashboard button

    Create Client ID and Client Secret 5

  7. Go to Credentials โž click Create Credentials โž select OAuth client ID from the drop-down list

    Create Client ID and Client Secret 6

  8. Open the Application Type drop-down list โž select Web Application โž enter the name of your OAuth 2.0 client

    Create Client ID and Client Secret 7

  9. Enter the URL of the site in Authorized JavaScript Origins โž in Authorized Redirection URIs, enter the URL of the page to which you want to redirect users after authentication with Google โž click the Create button

    Be careful to enter the redirection url correctly in both fieldsCreate Client ID and Client Secret 8

  10. Copy the Client ID and Client Secret

    Copy the data that appears on your screen and enter it into the plugin settings.Create Client ID and Client Secret 9

  11. Go to Enabled Bees and Services and Enable the following services.
    Google Analytics Admin API
    Google Analytics Data API
    Google Drive API
    Google Sheets API

    Look in the box at the top and enable the associated service.Create Client ID and Client Secret 10

Publication

By default, the project will be in "Testing" publication status.

This means you'll see a warning when you want to authorize the plugin to have access to your Google account (but since you only have to do this once, it's not a problem).

But it also means that these permissions will expire every 1 or 2 weeks. To make sure this does not happen, it is important to set the publishing status to "Production." This will require verification by Google.

Are you looking for more help?

en_USEnglish