Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/atapas/nextjs-analytics

In this repo, we have implemented an integration with Next.JS and Quickmetrics. This is to do analytics using the Metrics created by Next.js Web Vitals.
https://github.com/atapas/nextjs-analytics

analytics google-analytics google-analytics-api javascript next nextjs quickmetrics react reactjs vercel

Last synced: 2 months ago
JSON representation

In this repo, we have implemented an integration with Next.JS and Quickmetrics. This is to do analytics using the Metrics created by Next.js Web Vitals.

Awesome Lists containing this project

README

        

# NextJS-Analytics
In this repo, we have implemented an integration with [Next.JS](https://nextjs.org/) and [Quickmetrics](http://quickmetrics.io/). This is to do analytics using the Metrics created by `Next.js` Web Vitals.

# How to Run
Clone and create `.env.local` file with the following content,

```shell
NEXT_PUBLIC_QUICK_METRICS_API_KEY=
NEXT_PUBLIC_SEND_ANALYTICS=true

NEXT_PUBLIC_NAME=
NEXT_PUBLIC_FAKE_BLOG_NAME=
NEXT_PUBLIC_ORIGINAL_BLOG_NAME=
NEXT_PUBLIC_ORIGINAL_BLOG_LINK=
NEXT_PUBLIC_TWITTER_LINK=
```

> Please Note: Only first two enironment variables are mandatory!

Run this command,

```shell
yarn install # Or npm install
```

Then,

```shell
yarn dev # Or npm run dev
```
# Many Thanks to all the `Stargazers` who has supported this project with stars(⭐)

[![Stargazers repo roster for @atapas/nextjs-analytics](https://reporoster.com/stars/atapas/nextjs-analytics)](https://github.com/atapas/nextjs-analytics/stargazers)

# 🌟 Want to Motivate?

Who doesn't need motivations? Want to motivate? Give this repo a Star (🌟).