Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #10
This pull request addresses several important aspects:
Google Analytics Support: The primary objective is to integrate Google Analytics support into our landing page. This will enable us to gather valuable insights into user behavior and engagement.
Simplifying Consent Management: It also resolves the issue highlighted in this discussion by streamlining the consent management process. Instead of relying on two additional libraries, we are now reducing unnecessary bloat in our codebase.
Enhanced Consent Control: To manage user consents efficiently, we are leveraging Google's Official consent support. With this implementation, the Google Analytics tag will load on the initial page render, but tracking will not commence until the user explicitly clicks the "Accept" button. Additionally, if a user declines tracking, this decision will be conveyed to the Google Analytics dashboard, ensuring transparency and compliance with privacy regulations.
Changed the way
env
variables were managed in the repo for the more dynamic use.These improvements aim to enhance the user experience, streamline our codebase, and provide more precise control over data collection and user consents.