analytics
                                
                                
                                
                                    analytics copied to clipboard
                            
                            
                            
                        Privacy-friendly, real-time traffic insights
# moduleResolution NodeNext only allows defined import paths ```jsonc moduleResolution: NodeNext ``` **only** allows defined import paths When setting `moduleResolution` in `tsconfig.json` to NodeNext. When this is enabled, the module...
Add a example that tracks a custom event when a Next.js error occurs
Hi, thanks for providing this convenient SDK and I enjoy using it in my Next.js projects. I'm just wondering how am I supposed to use it in routes that redirects...
the docs [state you can add custom events and properties](https://vercel.com/docs/analytics/custom-events#tracking-an-event-with-custom-data) but there is no documentation on how to view or export these custom events / properties i checked through all...
I'm running into an issue with CORS when using Vercel Speed Insights and Analytics in a NextJS app: The `POST` requests seem to work fine, it's only the `POST +...
May I ask which version of vercel/analytics is compatible with NEXTjs 12.3.4. If not, is there any possible workaround for us to use vercel analytics on the aforementioned version or...
I am running into [this issue](https://github.com/vercel/analytics/issues/143), where the `Access-Control-Allow-Origin` header is missing from the `/_vercel/insights/view` endpoint when reverse proxying (so it works when I am on the request URL directly...
Hi There, Similar to the issue below for the Edge Runtime and Next.js, using the MPL-2.0 licence triggers lots of queries from legal departments when used. https://github.com/vercel/next.js/issues/38467#issuecomment-2214509969 Is there any...
For production builds, this library loads an additional analytics script from `/_vercel/insights/script.js` on the current domain. For development builds, this library loads an analytics script from `https://va.vercel-scripts.com/v1/script.debug.js`. https://github.com/vercel/analytics/blob/56ebed29f8a898d01ce8356fc38381927ff1cea4/packages/web/src/generic.ts#L19-L21 This has...
Next.js 13 Analytics 1.4.1 yarn run build yarn run v1.22.22 $ next build Get this error : ``` Collecting page data ..file:///node_modules/@vercel/analytics/dist/next/index.mjs:159 import { useParams, usePathname, useSearchParams } from "next/navigation.js";...