Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/atapas/nextjs-analytics
- Owner: atapas
- Created: 2020-11-25T11:05:58.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T16:40:59.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T17:16:00.913Z (8 months ago)
- Topics: analytics, google-analytics, google-analytics-api, javascript, next, nextjs, quickmetrics, react, reactjs, vercel
- Language: JavaScript
- Homepage: https://blog.greenroots.info
- Size: 2.68 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
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=trueNEXT_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 (🌟).