You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, if the user doesn't engage with the Consent Mode Setup CTA Banner, and instead navigates directly to Settings and enables Consent Mode, then disables it again, when they return to the dashboard the Setup CTA Banner will be displayed.
We should probably ensure the banner is effectively dismissed if the user interacts with the Consent Mode toggle on the Settings screen.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
The Consent Mode Setup CTA banner, should not show again if the user has interacted with the Consent Mode toggle switch in the settings screen.
Get the Consent Mode Setup CTA Banner dismissed state using the isPromptDismissed selector with the CONSENT_MODE_SETUP_CTA_WIDGET_SLUG slug.
In the saveSettings function, if the Consent Mode Setup CTA Banner has not been dismissed, dispatch the dismissPrompt actions with the CONSENT_MODE_SETUP_CTA_WIDGET_SLUG slug.
Test Coverage
None needed.
QA Brief
Set up a new site with Site Kit, including the Analytics module. Ensure that Consent Mode banner appears on the Site Kit dashboard, but don't interact with the banner.
Navigate to Site Kit settings.
Enable Consent Mode using the toggle switch from Site Kit settings.
Visit the Site Kit dashboard; the Consent Mode banner should no longer appear.
Changelog entry
Update the Consent Mode Setup CTA banner not to be shown if the user toggles the consent mode via settings.
The text was updated successfully, but these errors were encountered:
Feature Description
At present, if the user doesn't engage with the Consent Mode Setup CTA Banner, and instead navigates directly to Settings and enables Consent Mode, then disables it again, when they return to the dashboard the Setup CTA Banner will be displayed.
We should probably ensure the banner is effectively dismissed if the user interacts with the Consent Mode toggle on the Settings screen.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
assets/js/components/consent-mode/ConsentModeSwitch.js
:isPromptDismissed
selector with theCONSENT_MODE_SETUP_CTA_WIDGET_SLUG
slug.saveSettings
function, if the Consent Mode Setup CTA Banner has not been dismissed, dispatch thedismissPrompt
actions with theCONSENT_MODE_SETUP_CTA_WIDGET_SLUG
slug.Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: