How to Setup Google Analytics

Google Analytics

Getting credentials 

Go to https://console.developers.google.com/apis/dashboard and create a new project.

 

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

 

https://panelscript.com/assets/images/step2.png

 

Enable API

 

https://panelscript.com/assets/images/step3.png

https://panelscript.com/assets/images/step5.png

 

Generate service account key and select role Viewer

 

https://panelscript.com/assets/images/step6.png

https://panelscript.com/assets/images/step7.png

 

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

 

https://panelscript.com/assets/images/step7.png

 

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.

 

https://panelscript.com/assets/images/step8.png

https://panelscript.com/assets/images/step9.png

https://panelscript.com/assets/images/step11.png

 

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

 

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