Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel analytics "Awaiting data" #23

Closed
madsh93 opened this issue May 21, 2021 · 9 comments
Closed

Vercel analytics "Awaiting data" #23

madsh93 opened this issue May 21, 2021 · 9 comments

Comments

@madsh93
Copy link

madsh93 commented May 21, 2021

Hi

I am not sure the problem is this module, however Vercel refers to this module in their docs.
My problem is, I have enabled Vercel analytics and for a few months I have been getting "Awaiting data".

image

Vercel docs state I don't have to add this module manually, however it does not seem to make it work.
https://vercel.com/docs/analytics

Has anybody got Nuxt and Vercel analytics to work?

Edit: I have been in contact with the Vercel Support team, who tried re-enabling and re-deploying, with no success. They said it might be caused by having set Content Security Policy to disallow vitals.vercel-insights.com - which I have not.

@oritwoen
Copy link

oritwoen commented Jun 7, 2021

In fact, I have the same problem so I confirm that there is something wrong with this package.

@fabiovaz
Copy link

I have the same problem here, some updates?

@iranagame
Copy link
Contributor

Same as #25

@madsh93
Copy link
Author

madsh93 commented Aug 9, 2021

@iranagame I see. Thanks for your help. I see that your PR has been merged, but I still get same result. I've tried adding the module manually, but could It be that Vercel overrides with the old version?

@pi0
Copy link
Contributor

pi0 commented Aug 12, 2021

I'm afraid this issue is not the same as #25 @iranagame! Vercel provider sends event within body not query. (BTW 0.1.7 released with few improvements)

@madsh93 Do you probably have a public URL I can check your deployment logs?

@madsh93
Copy link
Author

madsh93 commented Aug 12, 2021

Hi @pi0 yes absolutely! Https://kassebil.dk
Edit: thought you meant to the website. I'll post the logs as soon as I get to my PC

@madsh93
Copy link
Author

madsh93 commented Sep 15, 2021

@pi0 Sorry for the wait!

I've looked into this issue again. With a minimal reproduction repository, I've located the issue to when you add GA ID. Not sure what happens, but this is definitely here the issue lies. For now I've removed this, and I receive data on Vercel again.

  googleAnalytics: {
    id: 'UA-XXXXXXXX-X'
  }

EDIT:
Actually I am not sure this was it. It seemed to have fixed the issue on my main project on Vercel. However, I tested a raw installation of Nuxt and it also fails with Vercel Analytics, here's the repo:
https://github.com/madsh93/vercel-analytics-nuxt

@danielroe
Copy link
Contributor

Sorry for the long wait! 😬 Is this still occurring for you?

@madsh93 madsh93 closed this as completed May 21, 2023
@madsh93
Copy link
Author

madsh93 commented May 21, 2023

Not sure if this was fixed. But as I've replaced most of my code and no longer use Vercel Analytics I can't say if this is still an issue. I've closed it for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants