Closed gsantiago closed 1 year ago
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!
That's it!
I enabled the audiences, redeployed the project and now it's working!
Thanks!
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.
@tobiaslins I'm running in to a similar problem
"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,
},
}),
});
The project uses Vite and you can see the source code here: https://github.com/gsantiago/SereneBreath
I already enabled the analytics on the dashboard and tried a few redeploys after it. I also tried to disabled and re-enable the analytics but it also didn't work.