Update script.md (#40017)
Adding id property for inline script Co-authored-by: Sukka <isukkaw@gmail.com>
This commit is contained in:
parent
d592d20673
commit
ca807d66f9
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ Scripts that use the `afterInteractive` strategy are injected client-side and wi
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
<Script
|
<Script
|
||||||
|
id="google-analytics"
|
||||||
strategy="afterInteractive"
|
strategy="afterInteractive"
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
|
|
Loading…
Reference in a new issue