Closed bogy0 closed 1 year ago
@tobiaslins https://auto-agentgpt.com/
@Dogtiti It seems like you've already collected data once with that domain but currently Web Analytics for that project is disabled. Head over to the Analytics tab for this project, enable it & redeploy to start collecting data again!
ok,thanks
---Original---
From: "Tobias @.>
Date: Tue, May 2, 2023 15:03 PM
To: @.>;
Cc: @.**@.>;
Subject: Re: [vercel/analytics] Getting 404 for script.js
(Issue #1)
@Dogtiti It seems like you've already collected data once with that domain but currently Web Analytics for that project is disabled. Head over to the Analytics tab for this project, enable it & redeploy to start collecting data again!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I think this happens when you integrate the analytics on your project without activating the analytics on Vercel
Found out that mby if you use adblock, that will stop the script.js from running.
We also get 404 errors in Datadog, but not sure it's the same issue.
_app.tsx
:
import { Analytics } from "@vercel/analytics/react";
[....]
<Analytics />
in DataDog we an error about 404 from https://vitals.vercel-insights.com/v1/view?dsn=vxVf....
If I understand corretly, the plugin calls /_vercel/insights/view
which gets the error and the logs it
Can any of this be explained by ad blockers? IIUC, that could not explain it - it would simple not call /_vercel/insights/view
at all and thus we'd not get any errors, no?
Can this be explained by a crawler or smth accessing /_vercel/insights/view
directly? if I open it manually, just got the same type of error in DataDog. Can I enable some input validation for that page or something? If nothing else, we'll just ignore all those logs completely, which doesn't seem like the right approach.
I got the exact same error, in my environment my ad blocker was causing the issue. Disabling it solved the problem.
I am encountering this issue in my local not production
GET /_vercel/insights/script.js 404 in 2826ms
How can I stop alerting?
I am encountering this issue in my local not production
GET /_vercel/insights/script.js 404 in 2826ms
How can I stop alerting?
Disable adblock
First of all, great work with the updates. Watching the conference was really inspiring. Of course, my first thing to do was to update one of my Next.js projects and try the new goodies.
At one point I decided to try out this new Analytics feature called Audiences, but after adding it to the project I am getting these errors in the console.
After some quick search in the vercel org I came across this repository where I found a reference for this
va/script.js
file.Overall, the audiences feature is working, I am getting visitor data in the newly enabled dashboard page; the issue only is that the browser logging this error.
If you need further details, example codes, let me know, but what i did was basically follow your guide:
@vercel/analytics
Analytics
react component into the_app.jsx
file, like this: