Skip to content

Commit e3134fd

Browse files
committed
Use Link for suffix instead of Url
1 parent ff8e928 commit e3134fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets/src/settings-page/analytics.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import { AMPNotice, NOTICE_SIZE_SMALL } from '../components/amp-notice';
2222
const GOOGLE_ANALYTICS_VENDOR = 'googleanalytics';
2323

2424
const GOOGLE_ANALYTICS_NOTICE = createInterpolateElement(
25-
__( 'For Google Analytics or Google Tag Manager please consider using <GoogleSiteKitUrl>Site Kit by Google</GoogleSiteKitUrl>. This plugin configures analytics for both non-AMP and AMP pages alike, avoiding the need to manually provide a separate AMP configuration here. Nevertheless, for documentation on manual configuration see <GoogleAnalyticsDevGuideUrl>Adding Analytics to your AMP pages</GoogleAnalyticsDevGuideUrl>.', 'amp' ),
25+
__( 'For Google Analytics or Google Tag Manager please consider using <GoogleSiteKitLink>Site Kit by Google</GoogleSiteKitLink>. This plugin configures analytics for both non-AMP and AMP pages alike, avoiding the need to manually provide a separate AMP configuration here. Nevertheless, for documentation on manual configuration see <GoogleAnalyticsDevGuideLink>Adding Analytics to your AMP pages</GoogleAnalyticsDevGuideLink>.', 'amp' ),
2626
{
2727
/* eslint-disable jsx-a11y/anchor-has-content -- Anchor has content defined in the translated string. */
28-
GoogleSiteKitUrl: <a href="https://wordpress.org/plugins/google-site-kit/" target="_blank" rel="noreferrer" />,
29-
GoogleAnalyticsDevGuideUrl: <a href="https://developers.google.com/analytics/devguides/collection/amp-analytics/" target="_blank" rel="noreferrer" />,
28+
GoogleSiteKitLink: <a href="https://wordpress.org/plugins/google-site-kit/" target="_blank" rel="noreferrer" />,
29+
GoogleAnalyticsDevGuideLink: <a href="https://developers.google.com/analytics/devguides/collection/amp-analytics/" target="_blank" rel="noreferrer" />,
3030
/* eslint-enable jsx-a11y/anchor-has-content */
3131
},
3232
);

0 commit comments

Comments
 (0)