🚀 Quickstart
Connect to Google Analytics with Nango and see data flow in 2 minutes.1
Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Google Analytics. Nango doesn’t have a Nango-managed OAuth app for Google Analytics yet. You’ll need to set up your own by following the setup guide linked below. After that, make sure to add the OAuth client ID, secret, and scopes in the integration settings in Nango.
2
Authorize Google Analytics
Go to Connections -> Add Test Connection -> Authorize, then log in to Google Analytics. Later, you’ll let your users do the same directly from your app.
3
Call the Google Analytics API
Let’s make your first request to the Google Analytics Admin API (fetch a list of accounts). Replace the placeholders below with your Environment API key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
4
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own credentials, follow the setup guide linked below.
📚 Google Analytics Integration Guides
Nango maintained guides for common use cases.-
How to register your own Google Analytics OAuth app
Register an OAuth app with Google Analytics and obtain credentials to connect it to Nango - Google App & Security Review Pass Google’s OAuth app verification to go to production