UPDATE: Here is a video guide specially made for Analytify WordPress Plugin users.
Following are the simple steps which can help you to get your Client ID, Client Secret and Developer API Key for your Web Apps or WordPress plugins from Google Developers Console. I wrote this tutorial for Analytify users but It can be beneficial for everyone.
- You need to create a Project in Google Developer Console. Click here to go to Console page. It will ask you to login with your Google Account if you are not logged in already. If you have created Projects in Google Developers Console before you will see the list of already created projects. If not, below screen will appear.
- In both scenarios, Click on ‘Create Project' button.
- A popup will appear, where you will enter ‘Project Name' and ‘Project ID' which will help you to recognize your project in the console.
- By clicking on Create button, Your project will be created and redirects you to your projects list in Console.
- Clicking on the project name which you have recently created will take you to your Project Dashboard.
- See left side navigation menu. Go to Overview, here you can see the list of popular Google APIs. Select ‘Analytics API' and Enable it.
- Next, Go to Credentials -> OAuth Consent Screen, Check your Email address and Enter your Product name “Analytify Project” and Save it.
- Go to Credentials tab. Click on OAuth 2.0 Client ID at the dropdown like below.
- You will select your Application Type ‘Web Application' and Add the Redirect URI. Redirect URI should be same of your application installation URL. For Analytify WordPress plugin, It should be the settings page URL like in the screenshot below.
- Click on Create button. It will start creating Keys. You will see a popup containing Client ID and Client Secret. Copy that and paste it in Plugin.
- Now, you need to get Public API Key. Click on API key at the dropdown like below.
- Click the Browser Key and press ‘Create‘ button.
- If you have done all the above steps correctly, the popup will open and you should see you API key.