AppView comes with built-in support for two popular web analytics platforms:
Both services focus on user privacy and don’t use cookies, so you don’t need to show any cookie consent banners on your website.
Enable Plausible analytics
Once you set up your Plausible project , open
app/(main)/layout.tsx and find the <PlausibleAnalytics> component, which is
commented by default.
<PlausibleAnalytics domain="your-app-domain.com" />Uncomment it and put your own domain into the domain property.
Once you deploy the website, you’ll start seeing data in your Plausible dashboard.
Enable Vercel Web Analytics
Vercel Web Analytics works only when you deploy your website to Vercel. If you use another hosting provider, use Plausible.
If you plan to deploy your website to Vercel, you can use their built-in web analytics.
First, enable Web Analytics in Vercel dashboard by going to your project → Analytics tab and click “Enable” button.
Now open app/(main)/layout.tsx and find the <VercelAnalytics> component,
which is commented by default. Uncomment it.
<VercelAnalytics />You might need to add import statement at the top of the file in case your editor doesn’t suggest to do it automatically.
import { VercelAnalytics } from "@/components/vercel_analytics/vercel_analytics";Re-deploy the project and you’re all set. You should start seeing data about visitor in the Vercel console.