Unverified Commit 7cdce8fd authored by neb's avatar neb Committed by GitHub

Add id to inline gtag script (#29530)



## Documentation / Examples

- [x] Make sure the linting passes
parent 8ee61278
...@@ -23,6 +23,7 @@ const App = ({ Component, pageProps }) => { ...@@ -23,6 +23,7 @@ const App = ({ Component, pageProps }) => {
src={`https://www.googletagmanager.com/gtag/js?id=${gtag.GA_TRACKING_ID}`} src={`https://www.googletagmanager.com/gtag/js?id=${gtag.GA_TRACKING_ID}`}
/> />
<Script <Script
id="gtag-init"
strategy="afterInteractive" strategy="afterInteractive"
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: ` __html: `
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment