Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GA4 compatibility to Google Analytics connector #45

Merged
merged 24 commits into from
Feb 7, 2023

Conversation

chris-greening
Copy link
Contributor

Description

Add GA4 compatibility to the Google Analytics connectors to pull data from GA4 using the Analytics Data API

Fixes #44

@chris-greening chris-greening added the enhancement New feature or request label Feb 3, 2023
@chris-greening chris-greening self-assigned this Feb 3, 2023
@chris-greening
Copy link
Contributor Author

Adding in the GA4 connector is going to essentially be a matter of adding a ga4 Boolean flag to the connector instantiation and then dispatching to either Universal Analytics calls or GA4 calls internally by isinstance checking what authenticated connection are passed into get_google_analytics_data

Since we're dispatching to two different sets of connectors behind the scenes I'm creating a google.utils set of submodules so we can separate our UA and GA4 connectors into separate internal implementations that get called from the central user-facing google_analytics module

@chris-greening chris-greening merged commit 1f61aab into main Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GA4 compatibility for the Google Analytics connector
1 participant