We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See code below from apps\web\pages\_app.tsx:
apps\web\pages\_app.tsx
<Script strategy="lazyOnload" src={`https://www.googletagmanager.com/gtag/js?id=${process.env.NEXT_PUBLIC_GA_MEASUREMENT_ID}`} /> <Script strategy="lazyOnload" id="google-analytic-script"> {` window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '${process.env.NEXT_PUBLIC_GA_MEASUREMENT_ID}');`} </Script>
We need to disable loading that code if env var is NOT set (empty or undefined value)
The text was updated successfully, but these errors were encountered:
@evereq noted, i'll create a PR and make the changes
Sorry, something went wrong.
@evereq here is the PR #1680
maceteligolden
No branches or pull requests
See code below from
apps\web\pages\_app.tsx
:We need to disable loading that code if env var is NOT set (empty or undefined value)
The text was updated successfully, but these errors were encountered: