Coder Social home page Coder Social logo

Comments (4)

tobiaslins avatar tobiaslins commented on April 30, 2024 2

Hey!
You have enabled Web Vitals Analytics and not Audiences which is required to make this work.
It is a sub tab in the "Analytics" tab.
We're working on improving that experience which should be available soon.

Let me know if that works!

from analytics.

emrecoban avatar emrecoban commented on April 30, 2024 2

Hey! You have enabled Web Vitals Analytics and not Audiences which is required to make this work. It is a sub tab in the "Analytics" tab. We're working on improving that experience which should be available soon.

Let me know if that works!

@tobiaslins
I have been researching for hours to solve this problem, and it turns out the solution was this simple. Please add this explanation to your documentation page.

from analytics.

gsantiago avatar gsantiago commented on April 30, 2024

That's it!

I enabled the audiences, redeployed the project and now it's working!

Thanks!

from analytics.

AnthonyVNgo avatar AnthonyVNgo commented on April 30, 2024

@tobiaslins I'm running in to a similar problem

  • I'm trying to add analytics to my project
  • I've followed the instructiosn on astro's docs and vercels
    https://vercel.com/docs/analytics/quickstart
  • I've deployed, redeployed, promoted to production, deleted project and re-deployed and nothing has worked.
  • I'm using / under the hobby price plan and have deployed another project with analytics on it (am I limited to one project only?)
  "dependencies": {
    "@astrojs/react": "^3.0.2",
    "@astrojs/tailwind": "^5.0.0",
    "@astrojs/vercel": "^5.0.1",
    "@types/react": "^18.2.23",
    "@types/react-dom": "^18.2.7",
    "@vercel/analytics": "^1.0.2",
    "astro": "^3.1.4",
    "hamburger-react": "^2.5.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "tailwindcss": "^3.3.3"
  },
import { defineConfig } from "astro/config";
import vercel from "@astrojs/vercel/serverless";
import tailwind from "@astrojs/tailwind";
import react from "@astrojs/react";

// https://astro.build/config
export default defineConfig({
  integrations: [tailwind(), react()],
  output: "server",
  adapter: vercel({
    webAnalytics: {
      enabled: true,
    },
  }),
});

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.