Enhance ads measurement status connection checks #10190
Labels
Module: Ads
Google Ads module related issues
Module: Analytics
Google Analytics module related issues
Module: Tag Manager
Google Tag Manager module related issues
P1
Medium priority
Team M
Issues for Squad 2
Type: Enhancement
Improvement of an existing feature
Feature Description
The core/site endpoint
ads-measurement-status
is a cross-module endpoint for the detection of Google Ads measurement which can be implemented a number of ways. Its response is surfaced via theisAdsConnected
selector.This endpoint supports Consent Mode – a non-module/service specific feature of the core tagging platform.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
Updates to
core/site/data/ads-measurement-status
googlesitekit_ads_measurement_connection_checks
with a default value of an empty arraycallable[]
{ connected: Boolean }
as today using the value from the filterModule->get_data()
instead of API client services directly (e.g. useGET:live-container-version
instead ofget_tagmanager_service()->accounts_containers_versions->live
Updates to
isAdsConnected
on clientads-measurement-status
request in its fetch store to not disable cache unconditionally, but via a "params" argument{ useCache }
that can be passed to the underlyingapi.get
callisAdsConnectedUncached
which does the same asisAdsConnected
but callsads-measurement-status
fetch store withuseCache: false
from its resolverisAdsConnectedUncached
selectorTest Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: