angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.7k stars 2.19k forks source link

Using AngularFire2 With GAPI to Access Google Analytics Reporting #404

Closed thehashrocket closed 8 years ago

thehashrocket commented 8 years ago

Angular: Angular2 RC4

Firebase: Firebase3 (latest)

AngularFire: AngularFire2 (latest)

I'm looking at trying to access the Google Analytics Reporting v4 API. Something like this. But using AngularFire2 goodness.

Has anyone had any luck with doing this? I've googled, but it doesn't seem to be that popular of a topic. It doesn't help that Angular2, etc. is still pretty new, so there's that. Does anyone have any idea? I'm sure it's a thing. I think?

I've got authentication working with AngularFire2 and Firebase, that's a first step. ;)

davideast commented 8 years ago

I have not myself. But this is a question suited for Stackoverflow. Ideally you'll need to find the scope for GA and then use that token after authentication.