Re:Show HN: HeatMap.TV – Realtime Google Analytics Heatmap f...
by r1ch on Sunday October 01, 2017 @03:41PM
(#15379414)
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.
[ Parent
| on HN ]
Re:Show HN: HeatMap.TV – Realtime Google Analytics Heatmap f...
by Fileformat on Sunday October 01, 2017 @04:08PM
(#15379542)
The 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?
Re:Show HN: HeatMap.TV – Realtime Google Analytics Heatmap f...
by r1ch on Sunday October 01, 2017 @04:12PM
(#15379552)
It gets a 403 on 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.
Re:Show HN: HeatMap.TV – Realtime Google Analytics Heatmap f...
by Fileformat on Sunday October 01, 2017 @05:10PM
(#15379826)
Fixed. 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.