3 ms·
Doesn't seem to work for me. Asks me to log in to Google, I choose my account then it goes back and shows an empty list of sites. Never got a prompt to approve
by r1ch 9y ago
Doesn't seem to work for me. Asks me to log in to Google, I choose my account then it goes back and shows an empty list of sites. Never got a prompt to approve any permissions.
- Fileformat 9y agoThe Google account needs to have rights to view stuff in Google Analytics. There definitely could be problems with the Google Auth, and it probably only works on newer browsers (I have tested on Chrome and Firefox). Do you see any errors in the console logs?
- r1ch 9y agoIt gets a 403 on https://www.googleapis.com/analytics/v3/management/accountSummaries https://www.googleapis.com/analytics/v3/management/accountSu... after logging in. I am signed in to multiple Google accounts, although the primary account is also the one I use with analytics. "{"error":{"errors":[{"domain":"global","reason":"insufficientPermissions","message":"Insufficient Permission"}],"code":403,"message":"Insufficient Permission"}}" I wasn't prompted to approve any permissions so this doesn't seem surprising. Looks like you need to replace "scope: 'profile'" with "scope: context.SCOPE" in your gapi.client.init call.
- Fileformat 9y agoFixed. Thanks! I'm not sure what was going on. It was definitely working in some scenarios, since I can see active users (with Heatmap.TV, naturally). The Google Auth stuff has been a complete nightmare.