Google Analytics

Getting credentials

Image

Image

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

Image

  • Enable API:

Image

Image

  • Generate service account key and select role Viewer

Image

Image

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

Image

  • Go to Google Analytics account: https://analytics.google.com/analytics/web/. 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.

Image

Image

Image

Give your comment here if you got any problem.

Good luck!