[Django]-Google Analytics reports API – Insufficient Permission 403

10👍

Had the same problem, but now is solved.
Use View ID Not account ID, the ‘View ID’, can be found in the Admin->Profiles->Profile Settings tab

UPDATE
now, if you have more a account , you must go: Admin -> Select account -> under View-> click on View Settings

0👍

I had the same problem; sounds as simple as adding the email concerned to the list of users having at least a read access to your google analytics account
Some complete (but not up-to-date, rails code speaking) tutorial here

Should we mentions the scopes too ? googleapis.com/auth/analytics and googleapis.com/auth/analytics.readonly I guess would be sufficient

and yep, the above question (view id instead of account id, as usually used in the tracking) is something to set as explained.

With those 3 checks, you’re about to make it work as expected

👤Ben

0👍

You should use View ID Not account ID, the ‘View ID’, you can go:

Admin -> Select Site -> Under “View” -> View Settings , if it doesn’t works

you can go: Admin->Profiles->Profile Settings

0👍

First you need to add the email address you got from the API to the Google Analytics property. After that you should add the View ID.

Leave a comment