UPDATE [ October 20th, 2018 ]: 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. We 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 already created Projects in Google Developers Console, you will see the list of created projects. If not, following screen will appear.
- In both scenarios, Click on ‘Create Project' button.
- A page will redirect, 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.
- Go to the Dashboard from menu navigation > APIs & Services > Dashboard from the left corner icon. Clicking on the project name which you have recently created will take you to your Project Dashboard.
- Now you need to select a Library. Go to Library page from navigation menu > APIs & Services > Library from the left corner icon.
- Search Analytics API library, Select & Enable it.
- Next, Go to Credentials -> OAuth Consent Screen tab, Check your Email address and Enter your Product name “Analytify” and Save it.
- After Saving, you will be redirected to Credentials tab. Here you will see a popup from where you select an OAuth client ID option under Create credentials select box.
- Here you will select your Application Type ‘Web application'. Name of the client and add the Authorized redirect URIs. Redirect URI must the same of your application installation URL. For Analytify WordPress plugin, you will get it from Analytify > Settings > Advanced tab. Here you need to enable the “Do you want to use your own API keys?” option and get the Redirect URL. Copy the URL and paste it in Authorized redirect URI and click on create button.
- In result, you'll get the Client ID and Client Secret. Copy that and paste these in your plugin settings.
- After pasting the Client ID, Client Secret and Redirect URL in plugin settings, save the settings and Login with your Google Analytics Account to connect with Analytify.
- Next, you need to choose your profile from Analytify > Settings > Profile tab. Choose a profile and save it.
- Woohoo! Here you ready to view your Google Analytics in WordPress/Analytify dashboard.
Note: Analytify doesn't need API Key anymore after a version 2.0.0 but if you need an API Key for another project you can get it from Credentials tab.
- Click on API key at the dropdown like below.