{"name":"@vercel/analytics","version":"0.1.9-beta.5","keywords":["analytics","vercel"],"license":"MPL-2.0","type":"module","exports":{"./package.json":"./package.json",".":{"browser":"./dist/index.js","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"browser":"./dist/react/index.js","import":"./dist/react/index.js","require":"./dist/react/index.cjs"}},"main":"dist/index.js","types":"dist/index.d.ts","typesVersions":{"*":{"*":["dist/index.d.ts"],"react":["dist/react/index.d.ts"]}},"eslintConfig":{"extends":["@vercel/eslint-config"],"ignorePatterns":["jest.setup.ts"]},"devDependencies":{"@swc/core":"^1.3.20","@swc/jest":"^0.2.23","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@types/jest":"^29.2.3","@types/node":"^18.11.2","@types/react":"^16.8||^17||^18","@types/testing-library__jest-dom":"^5.14.5","@vercel/eslint-config":"0.0.0","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","react":"^18.2.0","react-dom":"^18.2.0","tsup":"6.5.0"},"peerDependencies":{"react":"^16.8||^17||^18"},"scripts":{"build":"tsup","dev":"tsup --watch","lint":"eslint .","lint-fix":"eslint . --fix","test":"jest","type-check":"tsc --noEmit"},"readme":"![Analytics](https://github.com/vercel/analytics/blob/main/.github/banner.png)\n\n<div align=\"center\"><strong>Vercel Analytics for Audiences</strong></div>\n<div align=\"center\">Privacy-friendly, real-time traffic insights</div>\n<br />\n<div align=\"center\">\n<a href=\"https://vercel.com/analytics\">Website</a>\n<span> · </span>\n<a href=\"https://vercel.com/docs/concepts/analytics/audiences/package\">Documentation</a>\n<span> · </span>\n<a href=\"https://twitter.com/vercel\">Twitter</a>\n</div>\n\n## Overview\n\n`@vercel/analytics` allows you to track page views in your Next.js app or any other website that is deployed to Vercel.\n\nAll page views are automatically tracked in your app.\n\nThis package does **not** track data in development mode.\n\n## Quickstart\n\n1. Enable Vercel Analytics for a project in the [Vercel Dashboard](https://vercel.com/dashboard).\n2. Add the `@vercel/analytics` package to your project\n3. Inject the Analytics script to your app\n\n   - If you are using **Next.js** or **React**, you can use the `<Analytics />` component to inject the script into your app.\n   - For other frameworks, you can use the `inject` function add the tracking script to your app.\n   - If you want to use Vercel Analytics on a static site without npm, follow the instructions in the [documentation](https://vercel.com/docs/concepts/analytics/audiences/quickstart).\n\n4. Deploy your app to Vercel and see data flowing in.\n\n## Documentation\n\nFind more details about this package in our [documentation](https://vercel.com/docs/concepts/analytics/audiences/quickstart).\n","readmeFilename":"README.md","description":"![Analytics](https://github.com/vercel/analytics/blob/main/.github/banner.png)","_id":"@vercel/analytics@0.1.9-beta.5","_integrity":"sha512-ZAPNXNx6mKKS2Yu7JRYqchx8rZqYpAyVr2mCtjbMSDiCLE+CvYS0Tg3ykE9Sa+L7ji5bebNNv/0VY7HZ3NOtTw==","_resolved":"/tmp/ae893938a0873e2958831274fd459cde/vercel-analytics-0.1.9-beta.5.tgz","_from":"file:vercel-analytics-0.1.9-beta.5.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ZAPNXNx6mKKS2Yu7JRYqchx8rZqYpAyVr2mCtjbMSDiCLE+CvYS0Tg3ykE9Sa+L7ji5bebNNv/0VY7HZ3NOtTw==","shasum":"c98c26112d0e3dd0ef53acc3ba1a1df12fdba521","tarball":"http://registry-npm.ywwl.com/@vercel/analytics/download/@vercel/analytics-0.1.9-beta.5.tgz","fileCount":17,"unpackedSize":63181,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjY9I3bSDYB+8wRXYbjjsdN3+XYQDJMvc5GHcW5IZYMAiEAuJiySC2cGqzB1esfd0+k5VEKMAYh8kJkiXbhqGapDsk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj91aiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFOQ/+PPz+yj9EaIAOzME6b0fxmUsBjWKJfLE910w8nm3diqx9W454\r\nGT3JIkyUtOfGEY0KVulczIuL1jdK95OV/cMpyLnwno94DeDuz12kI6dut58T\r\nl1MsA1OQCRnymWibECebxo962rt+Xqr2HGGci905zvzKvVb0AexbRtXLdFuZ\r\nLLmHsLyZ7cQKy5wi2qKpUqJv0HV0yjK5gmqHRUA7XnCGbgze8hM2QKQms9bQ\r\n+gaWhTtZUzMygSw/QqBK+n9J7ZgNUtPYyeWeUSL+jEGtV1U9xWGXE+5sgQuM\r\nOR6GZUK3NtHXcfD8rWbNb88H/6bkisGRtg1BqSx7vPNxyMkXOvV4o+tuKy3j\r\nikGMfW20bG+X8Qexhg9gABq9aAU5lAX6KDXbwkQSAGDCP3yZvz6vjii68SQa\r\nF+McvLcCGkenF+bicjQ+A6Illvha1iAP0v/X9PtxiT6ZOvdiJLy/Z6CKRNS/\r\nkSYOruuyi7BeOEfiZ4w16ap/7FJOd7vDF3dny/I1HsxsoSFs4mw2Gn77evoZ\r\n8Om0Dws+rmGaCTH/puVh9v7bcq43vg2MfOiZ7sp7ybVQ5o8tayEHn3b3QFea\r\nh+gEglXO+CX7nTuUR8xzT97eV123KLjKk4PB0PqIQtnfph9rs6peMQ3538ds\r\nuIhKy6i3umsUATy1677zod6QJoXkbfiLMks=\r\n=lB7H\r\n-----END PGP SIGNATURE-----\r\n","size":11757,"noattachment":false,"key":"/@vercel/analytics/-/@vercel/analytics-0.1.9-beta.5.tgz"},"_npmUser":{"name":"vercel-release-bot","email":"infra+release@vercel.com"},"directories":{},"maintainers":[{"name":"ijjk","email":"jj@jjsweb.site"},{"name":"quietshu","email":"g@shud.in"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"nick.tracey","email":"nick.tracey@vercel.com"},{"name":"matheuss","email":"matheus.frndes@gmail.com"},{"name":"chriswdmr","email":"github.wolle404@gmail.com"},{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"zeit-bot","email":"team@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/analytics_0.1.9-beta.5_1677153954821_0.3026114620838014"},"_hasShrinkwrap":false,"publish_time":1677153954953,"_cnpm_publish_time":1677153954953,"dist-tags":{"beta":"2.1.0-canary.5","canary":"1.0.2","latest":"2.0.1"}}