The 'Learn More' link for enhanced conversion tracking toggle is missing under Analytics settings edit view as reported in this Release Issue comment.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
The Learn More link should be added to the Enhanced Conversion Tracking toggle component when displayed within the Analytics module settings.
It should match in appearance, functionality and URL destination as it currently appears within the Ads module
Implementation Brief
[ ] Within the SettingsForm component at assets/js/modules/analytics-4/components/settings/SettingsForm.js
[ ] Define a variable that obtains the enhanced-conversion-tracking documentation URL obtained from the CORE_SITE store via getDocumentationLinkURL action, i.e select( CORE_SITE ).getDocumentationLinkURL( 'enhanced-conversion-tracking' )
[ ] Within the current opening <ConversionTrackingToggle> and </ConversionTrackingToggle> component body:
[ ] Replace the current __() textual output with a createInterpolateElement() function that includes the original text currently present, as well as the applicable "Learn more" link that links to the URL obtained via the useSelect() call further above, wrapped in an a <Link> component.
Update VRT references as required following introduction of the Learn More link to the Enhanced Conversion Tracking toggle component to the Analytics settings view/edit view.
Verified "Learn More" link for Enhanced conversion Tracking Toggle is added within Analytics module settings.
Verified that Analytics settings "Learn More" link matches in appearance, functionality and URL destination as it currently appears within the Ads module
Feature Description
The 'Learn More' link for enhanced conversion tracking toggle is missing under Analytics settings edit view as reported in this Release Issue comment.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Learn More
link should be added to the Enhanced Conversion Tracking toggle component when displayed within the Analytics module settings.Implementation Brief
SettingsForm
component atassets/js/modules/analytics-4/components/settings/SettingsForm.js
enhanced-conversion-tracking
documentation URL obtained from theCORE_SITE
store viagetDocumentationLinkURL
action, i.eselect( CORE_SITE ).getDocumentationLinkURL( 'enhanced-conversion-tracking' )
<ConversionTrackingToggle>
and</ConversionTrackingToggle>
component body:__()
textual output with acreateInterpolateElement()
function that includes the original text currently present, as well as the applicable "Learn more" link that links to the URL obtained via theuseSelect()
call further above, wrapped in an a<Link>
component.Test Coverage
QA Brief
Note: The above URL is not live yet so the page will 404, but that is the expected URL and the help doc will be added later 😄
Changelog entry