Skip to content

Commit

Permalink
add Script key for cache (#36627)
Browse files Browse the repository at this point in the history
Script component manages the cache as src or id. But in this example, id is missed.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
  • Loading branch information
gusrb3164 committed May 2, 2022
1 parent 20e5fed commit cb4eaaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/with-google-tag-manager/pages/_app.js
Expand Up @@ -16,6 +16,7 @@ function MyApp({ Component, pageProps }) {
<>
{/* Google Tag Manager - Global base code */}
<Script
id="gtag-base"
strategy="afterInteractive"
dangerouslySetInnerHTML={{
__html: `
Expand Down

0 comments on commit cb4eaaa

Please sign in to comment.