Skip to content

Commit

Permalink
Update message of AMP Analytics on settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaval-parekh committed Apr 19, 2022
1 parent ce91686 commit 1e9bf82
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions assets/src/settings-page/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@ export function Analytics() {
'<code>amp-analytics</code>',
'<code>{</code>',
'<code>}</code>',
'<code>&lt;amp-analytics&gt;</code>',
'<code>&lt;script&gt;</code>',
`<code>${ GOOGLE_ANALYTICS_VENDOR }</code>`,
),
{
Expand All @@ -251,6 +249,16 @@ export function Analytics() {
SiteKitUrl: <a href="https://wordpress.org/plugins/google-site-kit/" target="_blank" rel="noreferrer" />,
/* eslint-enable jsx-a11y/anchor-has-content */
code: <code />,
AmpAnalyticsTag: (
<code>
{ '<amp-analytics>' }
</code>
),
ScriptTag: (
<code>
{ '<script>' }
</code>
),
},
)
}
Expand Down

0 comments on commit 1e9bf82

Please sign in to comment.