Deploying to Vercel
Step 1: Login into your Vercel account
Vercel Login page
Step 2: Add new project
Click on Add New and select project.
Step 3: Import repository
If you have configure Vercel on GitHub than Import your git repository or else, import via third party repository.
Step 4: Deploy
Click Deploy and your good to go!! Wait for Vercel to deploy your app, the build process might take some time. But you have to only do this once. When you push new commits from git, Vercel will trigger a CI/CD pipeline and deploy your commits for you.
Save the production domain as we will need it for plausible later.
How-to Integrate Plausible Analytics With Next.js and Vercel?
Adding basic analytics to your website or your application is a critical way to gauge the performance and even detect some usability issues through the lifespan of your app.
In this tutorial, we will learn how to create a basic Nextjs application integrated with Plausible and deploy it on Vercel. Here is a quick preview of what we will be building.