Coder Social home page Coder Social logo

Comments (3)

michaelcais avatar michaelcais commented on May 1, 2024

I found another closed issue that refers to deployment. I went back to the Vercel Dashboard and redeployed manually the project and this seemed to fix the issue and Web Analytics is now getting data. Is there an issue with automatic deployment from GitHub that I have to manually initiate a redeployment from the dashboard?

Steps I did are the following;

  1. Enabled Web Analytics on Vercel Dashboard
  2. Installed the npm package to my project
  3. Added the Analytics Component to the _app.js document
  4. Committed and pushed to upstream
  5. Project production branch successfully deployed to Vercel
  6. Vercel Dashboard toast message reported not getting any data
  7. Website showed error on the console log, missing _vercel script folder
  8. Went to Vercel Dashboard Deployments and redeployed most recent deployment
  9. Vercel dashboard now shows analytic data

from analytics.

tobiaslins avatar tobiaslins commented on May 1, 2024

Hey @michaelcais!

The automatic deployment works here as well. The only thing that is important is the order. Web Analytics needs to be enabled before the deployment is started.

Glad that you resolved it!

from analytics.

RylanBot avatar RylanBot commented on May 1, 2024

Hi, I enabled Web Analytics before the deployment started, but it still fails to work.

It's been spinning, showing that it's loading.

I use Vue2 to import this dependency, and it seems to work locally.

Hey @michaelcais!

The automatic deployment works here as well. The only thing that is important is the order. Web Analytics needs to be enabled before the deployment is started.

Glad that you resolved it!

from analytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.