http://coldfusion.com logo
#cfml-general
Title
# cfml-general
a

Alan

04/25/2022, 12:26 PM
anyone connected to google analytics api in cfscript using oauth2 ?
c

chris_hopkins

04/25/2022, 12:28 PM
using a service account to get data ?
a

Alan

04/25/2022, 12:30 PM
yeah. just trying to find some examples
have got a request working in postman
c

chris_hopkins

04/25/2022, 12:32 PM
Have done a number of different things with google and for some of it we bypassed google but looking at the more simple bits we just hit the API super simple - just having a look to see what its getting and can probably dump something there
oh google login was the only bit we using the OAUTH api which is probably irrelevant
what are you using it for?
a

Alan

04/25/2022, 12:35 PM
pulling analytics data out
c

chris_hopkins

04/25/2022, 12:36 PM
ah yeah that was a nightmare in the end
especially if you have issues with sampling
i ended up just using https://analyticscanvas.com/ service to import the unsampled data directly into my database
though i was using universal analytics - not migrated to v4 yet
3 Views