Google Analytics Reporting Integration
You may find the integration settings at EasyArticles > Settings > Integrations > Google Analytics Reporting Integration.
Google Analytics Reporting API
Register your application for Google Analytics Reporting API in Google API Console. Google API Console allows you to manage your application and monitor API usage. Navigate to Google Analytics Reporting API to enable API for Google Analytics.
Select the existing project or create a new project for this API. Once you have enabled the API, you'll see the following notice.
Adding Credentials To Your Project
Make sure that you're selecting Google Analytics Reporting API from the list and choose Web browser for the calling API from. Do not forget to check User data for EasyArticles to access. Click on What credential do I need? button to continue.
On the next step, enter the Name for the credential request, Authorized JavaScript origins and Authorized redirect URIs for the credential restriction.
You will need to change
yoursite.com according to your site domain.You'll need to use the following url for Authorized redirect URIs.
http://yoursite.com/administrator/index.php?option=com_easyarticles&task=google.googleGrantYou may customize your Google consent screen by adding the additional information here. The consent screen will be shown to users whenever you request access to their private data using your client ID. Click on Continue button to continue.
You're almost done here. Copy the generated Client ID and paste it at EasyArticles Google Analytics Reporting Integrations in Web Client ID.
Click on Download button to download the credential information. In this file, you'll find the following credential's information. Copy the Client Secret and paste it at EasyArticles Google Analytics Reporting Integrations in Client Secret.
{
"web":{
"client_id":"427676301872-malam5inii1kita0punyalb5789p5keurtu183c.apps.googleusercontent.com",
"project_id":"rock-heaven-1379604",
"auth_uri":"https://accounts.google.com/o/oauth2/auth",
"token_uri":"https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs",
"client_secret":"1tjy3nheq5Zo35xYfPhaJShxhd3H",
"redirect_uris":[
"http://yoursite.com"
],
"javascript_origins":[
"http://yoursite.com"
]
}
}
Analytics View ID
To retrieve Analytics View ID, you'll need to navigate to Google Analytics Manager. Once you there, navigate to Admin section and click on View Settings.
Copy the View ID and paste it at EasyArticles Google Analytics Reporting Integrations in View ID.
Authenticate
Once you have ready, click on Access Google Analytics button to authenticate it. A dialog popup will appear for this process.











