We need these new columns in GA4 connector for our Web Analytics.
AnsweredConnector name: Google Analytics 4
| Category | Task | API | API Category | API Field | API Links |
| Data Stream | Measurment ID | GA4 Admin API | Data Streams | measurementId | https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties.customMetrics#CustomMetric |
| Data Stream | Enhanced measurement being used | GA4 Admin API (non-standard) | Data Collection | eventDataCollectionAllowed | https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/properties/acknowledgeUserDataCollection |
| Data Settings | Google signals data collection | GA4 Admin API (non-standard) | Google Signals | googleSignalsState | https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/GoogleSignalsSettings |
| Data Settings | User Data Collection Acknowledgement | GA4 Admin API (non-standard) | User Data | userDataCollectionStatus | https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/UserProvidedDataSettings |
| Data Settings | Data Retention - 14 Months | GA4 Admin API | Links & Settings | eventDataRetention | https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/DataRetentionSettings |
| Data Settings | Filter - Names | GA4 Data API | Testing | testDataFilterName | https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema |
| Data Settings | Filter - Type | GA4 Data API | Testing | trafficType | |
| Property Settings | Industry category selected | GA4 Admin API | Account & Property | https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties#Property |
-
Official comment
Hi Marko,
Thanks for the detailed writeup, and for tracing each field back to its source API.
One of these is already in the connector: the property's industry category. We sync the GA4 Property resource (https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties#Property) into the properties table, where industry_category is one of the columns. If it's not showing up, check that the properties table is enabled in your schema and that a sync has run since you turned it on.
Everything else sits in the Google Analytics Admin API, as you noted. The catch is that the Admin API has two versions live right now, and the fields you want are spread across both.
Two of them are in the stable version (v1beta), so we can build them, and we've logged both:
- Measurement ID, on the data streams resource (https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams)
- Data retention settings (eventDataRetention), via getDataRetentionSettings (https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties/getDataRetentionSettings)
The other four are only in Google's preview version (v1alpha):
- Enhanced measurement settings
- Google Signals data collection state
- User data collection acknowledgement
- Data filter name and traffic type
We're holding off on these for now. The preview API can change or get pulled without notice, and we'd rather not put connector tables on a foundation that might shift. Once Google promotes these into the stable v1beta API, we're happy to add them, and we watch for exactly that kind of change.
I can't promise a timeline on the two we've logged, but they're in the queue, and we'll post here when there's an update.
Thanks again,
Luke -
Hey Marko,
Thanks for reaching out. We are assessing this feature request to understand scope and alignment with our roadmap.
We will share an update on this thread regarding our evaluation as soon as its available.
Thanks,
Naren
Please sign in to leave a comment.
Comments
2 comments