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

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

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