Add Remote and Front-end Analytics
This merge request introduces changes to support google analytics and cookie management. Key changes include:
-
Added
CookieBannerWrapper.tsx
to manage the display and configuration of the cookie consent banner. -
Integrated Google Analytics configuration across the application to enable analytics tracking based on user consent for cookies. This includes the setup of
GA_TRACKING_ID
inConfigProvider.tsx
,entrypoint.sh
, andsecrets.env.example
for env-specific configurations. -
Modified
src/app/page.tsx
to include checks for cookie consent before initializing Google Analytics.
This merge request is currently in draft as it depends on the local version of the @ucam.uis.devops/ucam-observe-remote-analytics
package. It will be finalized once version 0.1.4 of the package is published to the npm registry, necessitating an update to the package reference from local to the published version.
Closes: #41 (closed)