Skip to content
New issue

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

added initial tooling #570

Merged
merged 3 commits into from
Mar 17, 2024
Merged

added initial tooling #570

merged 3 commits into from
Mar 17, 2024

Conversation

jeromehardaway
Copy link
Contributor

This pull request primarily focuses on integrating Google Analytics into the application. The Google Analytics ID has been added to the environment variables in both the local and production environments. Additionally, the Google Analytics script has been included in the Head component of the MyDocument class in _document.tsx. This script will only be included if the Google Analytics ID is present.

Changes to environment variables:

  • env.local and env.production: Added the NEXT_PUBLIC_GOOGLE_ANALYTICS_ID environment variable to both files.

Integration of Google Analytics:

  • src/pages/_document.tsx: Added the Google Analytics ID to the MyDocument class and included the Google Analytics script in the Head component. The script will only be included if the Google Analytics ID is present.

@jeromehardaway jeromehardaway self-assigned this Mar 17, 2024
Copy link

vercel bot commented Mar 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vets-who-code-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 17, 2024 5:35am

@jeromehardaway jeromehardaway merged commit c87829a into master Mar 17, 2024
3 checks passed
@jeromehardaway jeromehardaway deleted the GA4 branch March 17, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant