Skip to content

Commit

Permalink
updated the docs quickstart link to the new one (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
MacielG1 authored Sep 4, 2023
1 parent f2a534c commit e55dc7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ This package does **not** track data in development mode.

- 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/concepts/analytics/quickstart).
- 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/concepts/analytics/quickstart).
Find more details about this package in our [documentation](https://vercel.com/docs/analytics/quickstart).
2 changes: 1 addition & 1 deletion packages/web/src/generic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function inject(
script.onerror = (): void => {
const errorMessage = isDevelopment()
? 'Please check if any ad blockers are enabled and try again.'
: 'Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/concepts/analytics/quickstart for more information.';
: 'Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.';

// eslint-disable-next-line no-console
console.log(
Expand Down

0 comments on commit e55dc7b

Please sign in to comment.