lorenzo_tenti
06/28/2023, 3:56 PMHenning Holgersen
06/28/2023, 5:15 PMloaders
block:
- name: tap-google-analytics
namespace: tap_google_analytics
pip_url: git+<https://github.com/radbrt/tap-google-analytics-v4.git@work>
capabilities:
- state
- catalog
- discover
select:
- four_weekly_active_users.* # OK
- locations.* # Schema inference failed? Fixed?
- traffic_sources.* # Schema inference failed? Fixed?
- transactions.* # OK
- website_overview.* # schema inference failed
- weekly_active_users.* # OK
- daily_active_users.* # OK
config:
start_date: '2010-01-01T00:00:00Z'
settings:
# TODO: To configure using Meltano, declare settings and their types here:
- name: start_date
- name: property_id
- name: key_file_location
- name: oauth_credentials
- name: reports
- name: end_date
- name: start_date
value: '2010-01-01T00:00:00Z'
And set a few secrets in your .env file:
TAP_GOOGLE_ANALYTICS_KEY_FILE_LOCATION='/Users/me/.gcp/key.json'
TAP_GOOGLE_ANALYTICS_PROPERTY_ID='123454321'
You can replace the pip_url with the repo for the singer variant, but as mentioned I don’t know much about what config is needed. When all that is done, just run meltano install --clean
and it should all be installed.
Honorable mention to the version of the tap I forked from: https://github.com/z3z1ma/tap-google-analytics-v4. We are several people here who are starting to use GA4, so there should be some movement here soon.user
06/28/2023, 5:31 PMHenning Holgersen
06/28/2023, 5:41 PMuser
06/28/2023, 6:07 PMlorenzo_tenti
06/29/2023, 7:45 AM