vercel analytics script on both pages; disable project SSO protection (was 404-ing visitors)
This commit is contained in:
1 parent
cc6a660729
commit
632d053de9
68 files changed
+5662
No files matched your search
+36
@@ -0,0 +1,36 @@
|
||||

|
||||
|
||||
<div align="center"><strong>Vercel Web Analytics</strong></div>
|
||||
<div align="center">Privacy-friendly, real-time traffic insights</div>
|
||||
<br />
|
||||
<div align="center">
|
||||
<a href="https://vercel.com/analytics">Website</a>
|
||||
<span> · </span>
|
||||
<a href="https://vercel.com/docs/concepts/analytics/package">Documentation</a>
|
||||
<span> · </span>
|
||||
<a href="https://twitter.com/vercel">Twitter</a>
|
||||
</div>
|
||||
|
||||
## Overview
|
||||
|
||||
`@vercel/analytics` allows you to track page views and custom events in your Next.js app or any other website that is deployed to Vercel.
|
||||
|
||||
All page views are automatically tracked in your app.
|
||||
|
||||
This package does **not** track data in development mode.
|
||||
|
||||
## Quickstart
|
||||
|
||||
1. Enable Vercel Web Analytics for a project in the [Vercel Dashboard](https://vercel.com/dashboard).
|
||||
2. Add the `@vercel/analytics` package to your project
|
||||
3. Inject the Analytics script to your app
|
||||
|
||||
- If you are using **Next.js** or **React**, you can use the `<Analytics />` component to inject the script into your app.
|
||||
- To add the tracking script for other frameworks, use the `inject` function.
|
||||
- If you want to use Vercel Web Analytics on a static site without npm, follow the instructions in the [documentation](https://vercel.com/docs/analytics/quickstart).
|
||||
|
||||
4. Deploy your app to Vercel and see data flowing in.
|
||||
|
||||
## Documentation
|
||||
|
||||
Find more details about this package in our [documentation](https://vercel.com/docs/analytics/quickstart).
|
||||
Reference in new issue
Block a user