https://github.com/wideangleanalytics/wideangle-nextjs
How to use Wide Angle Analytics in Next.js application
https://github.com/wideangleanalytics/wideangle-nextjs
Last synced: 3 months ago
JSON representation
How to use Wide Angle Analytics in Next.js application
- Host: GitHub
- URL: https://github.com/wideangleanalytics/wideangle-nextjs
- Owner: wideangleanalytics
- Created: 2024-04-10T19:29:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-10T19:30:35.000Z (about 1 year ago)
- Last Synced: 2025-01-11T07:38:55.137Z (4 months ago)
- Language: JavaScript
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wide Angle Analytics meets Next.js
This project is a sample implementation of [Wide Angle Analytics](https://wideangle.co) being deployed to Next.js application.
This is very crude example, where the site tracking ID is hardcoded in the `WideAngleComponent`. Please consider this for demonstration purposes only.
## Contents
- `src/app/wideangle.js` a sample component enabling Wide Angle Analytics
- `src/app/layout.js` global layout using `WideAngleComponent` enabling tracking site-wide
- `src/app/trackedButton.js` an example application of custom action tracking