Commits
Click on a commit to change the comparison rangefeat(portal): integrate vercel web analytics
This will automatically start tracking
visitors and page views with Web Analytics
Changes:
- Create a root `layout.tsx`.
- Add to it the Analytics component. fix(portal): use `track` instead of `Analytics` for web analytics
It was not possible to use the `Analytics`
wrapper component in the root layout because we don't
use React components, but instead a GET endpoint.
For this we have to manually track the information that
we need with the `track` function.