Skip to Content
Jun 01, 2022 at 02:26 PM

HANA XSJS example code for retrieving Google analytics data


Has anyone come across any example XSJS (server side Javascript) code to extract google analytics data using their API?

There seems to be nothing out there and I'm having issues establishing authorisation and then extracting report data. I'm also having issues identify which auth method I should use for the server side access, be it OAuth, Service account or API Key.