2.6 KiB
Google Analytics
Overview
The Google Analytics source supports Full Refresh syncs. That is, every time a sync is run, Airbyte will copy all rows in the tables and columns you set up for replication into the destination in a new table.
This Google Analytics source wraps the Pipelinewise Singer Google Analytics Tap.
Output streams
website_overviewtraffic_sourcespageslocationsmonthly_active_usersfour_weekly_active_userstwo_weekly_active_usersweekly_active_usersdaily_active_usersdevices
Please reach out to us on Slack or create an issue if you need to send custom Google Analytics report data with Airbyte.
Features
| Feature | Supported? |
|---|---|
| Full Refresh Sync | Yes |
| Incremental Sync | No |
| Replicate Incremental Deletes | No |
| SSL connection | Yes |
Performance considerations
The Google Analytics connector should not run into Google Analytics API limitations under normal usage. Please create an issue if you see any rate limit issues that are not automatically retried successfully.
Getting started
Create a Service Account
We recommend creating a service account specifically for Airbyte so you can set granular permissions.
First, need to select or create a project in the Google Developers Console:
- Sign in to the Google Account you are using for Google Analytics as an admin.
- Go to the Service accounts page.
- Click
Create service account. - Create a JSON key file for the service user. The contents of this file will be provided as the
credentials_jsonin the UI when authorizing GA after you grant permissions (see below).
Add service account to the Google Analytics account
Use the service account email address to add a user to the Google analytics view you want to access via the API. You will need to grant Read & Analyze permissions.
Enable the APIs
- Go to the Google Analytics Reporting API dashboard in the project for your service user. Enable the API for your account. You can set quotas and check usage.
- Go to the Google Analytics API dashboard in the project for your service user. Enable the API for your account.