How to Setup Google Analytics

Google Analytics

Getting credentials 

Go to and create a new project.


Select your project and click on "ENABLE APIS AND SERVICES"


Enable API


Generate service account key and select role Viewer


Open JSON file and copy its content, then go to /admin/settings/general and update JSON credentials data for Analytics plugin:


Go to Google Analytics account:


Click on "Admin" => "View Settings" and copy "View ID" number, then go to /admin/settings/general and tab "Google Analytics" and paste to field View ID.

Open JSON credentials file and copy client email. Then click on "User management" and add that email to list account. Just need view only permission.


Now the dashboard will display your Google Analytics data in the widgets.


  • google analytics
  • 0 Users Found This Useful
Was this answer helpful?